Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.765/1.765, allocations: 297.8 MB / 313.8 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009947/0.000995, allocations: 184.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 93.75 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004498, allocations: 15.98 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.717, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.8931, allocations: 144.9 MB / 1.168 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.8934, allocations: 86.66 kB / 1.168 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02016/0.9136, allocations: 8.187 MB / 1.176 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9136, allocations: 1.125 kB / 1.176 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.9137, allocations: 12 kB / 1.176 GB, free: 8.785 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001047/0.9147, allocations: 0.7177 MB / 1.177 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9148, allocations: 12.03 kB / 1.177 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.9149, allocations: 56.28 kB / 1.177 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.9154, allocations: 380.8 kB / 1.177 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.9154, allocations: 33.38 kB / 1.177 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.9155, allocations: 40.38 kB / 1.177 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.9162, allocations: 423.6 kB / 1.178 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.9162, allocations: 5.688 kB / 1.178 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.9163, allocations: 16 kB / 1.178 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9163, allocations: 12 kB / 1.178 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005764/0.9169, allocations: 312.6 kB / 1.178 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.9188, allocations: 1.343 MB / 1.179 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.9197, allocations: 372 kB / 1.18 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.92, allocations: 140.8 kB / 1.18 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.92, allocations: 4 kB / 1.18 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.9204, allocations: 214.7 kB / 1.18 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.9204, allocations: 0 / 1.18 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.000796/0.9212, allocations: 400.4 kB / 1.18 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.9213, allocations: 132.5 kB / 1.18 GB, free: 4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.9218, allocations: 437.8 kB / 1.181 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.9218, allocations: 33.7 kB / 1.181 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.922, allocations: 236.2 kB / 1.181 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.9221, allocations: 90.66 kB / 1.181 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.9221, allocations: 8 kB / 1.181 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9222, allocations: 350.8 kB / 1.181 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.9225, allocations: 117.5 kB / 1.182 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.9228, allocations: 188.9 kB / 1.182 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.9232, allocations: 283.6 kB / 1.182 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9233, allocations: 0 / 1.182 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006365/0.9239, allocations: 371.8 kB / 1.182 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.924, allocations: 135.1 kB / 1.183 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.924, allocations: 4 kB / 1.183 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.924, allocations: 0 / 1.183 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.9243, allocations: 71.91 kB / 1.183 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.9243, allocations: 4 kB / 1.183 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.9245, allocations: 55.66 kB / 1.183 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.9246, allocations: 12 kB / 1.183 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.9246, allocations: 4 kB / 1.183 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003503/0.9249, allocations: 238.1 kB / 1.183 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.925, allocations: 4.062 kB / 1.183 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.359e-06/0.925, allocations: 9.75 kB / 1.183 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9252, allocations: 55.91 kB / 1.183 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9252, allocations: 5.016 kB / 1.183 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.9254, allocations: 47.52 kB / 1.183 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.9254, allocations: 12 kB / 1.183 GB, free: 1.195 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.9256, allocations: 233.1 kB / 1.183 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.9257, allocations: 41.55 kB / 1.183 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.9258, allocations: 55.78 kB / 1.183 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9258, allocations: 4 kB / 1.183 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9258, allocations: 3.938 kB / 1.183 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.9258, allocations: 0 / 1.183 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.9271, allocations: 1.016 MB / 1.184 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.9271, allocations: 3.984 kB / 1.184 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.9274, allocations: 61.78 kB / 1.184 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9274, allocations: 4 kB / 1.184 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.9274, allocations: 12 kB / 1.184 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.9274, allocations: 9.062 kB / 1.184 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9274, allocations: 288 / 1.184 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.9283, allocations: 0.6684 MB / 1.185 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.9284, allocations: 128.5 kB / 1.185 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.9285, allocations: 15.98 kB / 1.185 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.9287, allocations: 27.98 kB / 1.185 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.9288, allocations: 23.92 kB / 1.185 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.9288, allocations: 11.98 kB / 1.185 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003386/0.9291, allocations: 299.1 kB / 1.186 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9291, allocations: 0 / 1.186 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00058/0.9297, allocations: 139.5 kB / 1.186 GB, free: 14.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.9299, allocations: 123.9 kB / 1.186 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000701/0.9306, allocations: 411.1 kB / 1.186 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9306, allocations: 7.938 kB / 1.186 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.9309, allocations: 128.8 kB / 1.186 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.9317, allocations: 94 kB / 1.186 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.9331, allocations: 0.9294 MB / 1.187 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.9336, allocations: 0.8158 MB / 1.188 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000203/0.9338, allocations: 49.59 kB / 1.188 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.9339, allocations: 31.44 kB / 1.188 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.9339, allocations: 0 / 1.188 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of Templates: time 0.007869/0.9418, allocations: 3.631 MB / 1.192 GB, free: 8.141 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)