Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 184.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.3 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 86.52 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.363e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6514, allocations: 116.3 MB / 0.9734 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.8408, allocations: 139.2 MB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.8412, allocations: 75.94 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01716/0.8583, allocations: 6.37 MB / 1.116 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8584, allocations: 0 / 1.116 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.763e-05/0.8584, allocations: 8 kB / 1.116 GB, free: 4.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001068/0.8595, allocations: 0.6345 MB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8596, allocations: 12.03 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.8597, allocations: 47.44 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.8604, allocations: 362.8 kB / 1.117 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.8605, allocations: 14.72 kB / 1.117 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.8605, allocations: 20 kB / 1.117 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000449/0.861, allocations: 221.5 kB / 1.117 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.8615, allocations: 318.2 kB / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8616, allocations: 0 / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.8616, allocations: 0 / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.8616, allocations: 8 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.8636, allocations: 1.186 MB / 1.118 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.864, allocations: 211 kB / 1.119 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.8642, allocations: 100.9 kB / 1.119 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.8642, allocations: 11.98 kB / 1.119 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.8645, allocations: 147 kB / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.8645, allocations: 0 / 1.119 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004213/0.8649, allocations: 207.3 kB / 1.119 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.865, allocations: 132.5 kB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.8653, allocations: 265.1 kB / 1.119 GB, free: 468 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.8654, allocations: 33.7 kB / 1.119 GB, free: 428 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.8656, allocations: 236.1 kB / 1.12 GB, free: 188 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.8656, allocations: 82.75 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.8657, allocations: 0 / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8658, allocations: 342.8 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.866, allocations: 72.56 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.8662, allocations: 153.4 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.8663, allocations: 89.38 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8663, allocations: 5.594 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00042/0.8668, allocations: 262.7 kB / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.867, allocations: 0.5276 MB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.867, allocations: 4 kB / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8671, allocations: 0 / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.8674, allocations: 67.89 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.8674, allocations: 4 kB / 1.121 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.8676, allocations: 39.73 kB / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.8676, allocations: 19.94 kB / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.8677, allocations: 4 kB / 1.121 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000318/0.868, allocations: 186.3 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.868, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.868, allocations: 11.8 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.8682, allocations: 51.92 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.8682, allocations: 1.484 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.8684, allocations: 31.73 kB / 1.121 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.8684, allocations: 8 kB / 1.122 GB, free: 14.17 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001128/0.8685, allocations: 110.7 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003119/0.8689, allocations: 209.1 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.8689, allocations: 31.62 kB / 1.122 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.164e-05/0.869, allocations: 34.86 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.869, allocations: 4 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.869, allocations: 0 / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8691, allocations: 4 kB / 1.122 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.8701, allocations: 0.8169 MB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8702, allocations: 7.938 kB / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.8704, allocations: 47.97 kB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.8704, allocations: 4 kB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.8705, allocations: 4.25 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8705, allocations: 11.94 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8705, allocations: 0.6562 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.8712, allocations: 0.6405 MB / 1.123 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.8713, allocations: 112.7 kB / 1.123 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.8713, allocations: 4 kB / 1.123 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.8716, allocations: 19.98 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.8716, allocations: 26.44 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.8717, allocations: 12 kB / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002004/0.8719, allocations: 212.6 kB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.513e-06/0.8719, allocations: 0 / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005129/0.8724, allocations: 127.3 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001257/0.8737, allocations: 1.794 MB / 1.126 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.8742, allocations: 309.7 kB / 1.126 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8742, allocations: 0 / 1.126 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.8743, allocations: 95.86 kB / 1.126 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.8748, allocations: 64.48 kB / 1.126 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.8762, allocations: 0.5895 MB / 1.127 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.8767, allocations: 0.8115 MB / 1.127 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.877, allocations: 55.47 kB / 1.127 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.8772, allocations: 131.4 kB / 1.128 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8772, allocations: 0 / 1.128 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.9037, allocations: 5.911 MB / 1.133 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.904, allocations: 151.4 kB / 1.134 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.116, allocations: 3.938 kB / 1.134 GB, free: 1.57 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)