Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.939/1.939, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001237/0.001237, allocations: 172.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.001018/0.001018, allocations: 93.94 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.967e-05, allocations: 8 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9268, allocations: 115.3 MB / 0.9645 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/1.154, allocations: 138.2 MB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.154, allocations: 79.09 kB / 1.1 GB, free: 1.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01779/1.172, allocations: 6.373 MB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.923e-06/1.172, allocations: 0 / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.879e-05/1.172, allocations: 8 kB / 1.106 GB, free: 11.21 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.001215/1.173, allocations: 0.6278 MB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.009e-05/1.173, allocations: 12.03 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/1.173, allocations: 48.47 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/1.174, allocations: 362.8 kB / 1.107 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/1.174, allocations: 16 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.175, allocations: 24 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/1.175, allocations: 213.5 kB / 1.107 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/1.176, allocations: 306.3 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.176, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/1.176, allocations: 4 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.176, allocations: 8 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/1.178, allocations: 1.19 MB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/1.179, allocations: 215.7 kB / 1.109 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.179, allocations: 103.5 kB / 1.109 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/1.179, allocations: 4 kB / 1.109 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/1.179, allocations: 154.6 kB / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/1.179, allocations: 0 / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0005849/1.18, allocations: 203.6 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.18, allocations: 140.4 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/1.18, allocations: 265.1 kB / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.18, allocations: 25.7 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.181, allocations: 236.1 kB / 1.11 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.181, allocations: 86.75 kB / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/1.181, allocations: 0 / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.181, allocations: 346.8 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/1.181, allocations: 76.56 kB / 1.11 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/1.182, allocations: 145.4 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.182, allocations: 94.03 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.182, allocations: 0 / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006449/1.182, allocations: 267.3 kB / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003262/1.183, allocations: 0.5272 MB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.183, allocations: 0 / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.183, allocations: 4 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/1.183, allocations: 71.89 kB / 1.111 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.183, allocations: 4 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/1.183, allocations: 39.73 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/1.183, allocations: 11.95 kB / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.183, allocations: 4 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003473/1.184, allocations: 197.4 kB / 1.112 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.184, allocations: 0 / 1.112 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/1.184, allocations: 4 kB / 1.112 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/1.184, allocations: 55.91 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.184, allocations: 4 kB / 1.112 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/1.184, allocations: 29.48 kB / 1.112 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/1.184, allocations: 12.12 kB / 1.112 GB, free: 4.855 MB / 0.7136 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.0001782/1.185, allocations: 113.4 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003524/1.185, allocations: 197.2 kB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/1.185, allocations: 37.41 kB / 1.112 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.185, allocations: 30.86 kB / 1.112 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.185, allocations: 4 kB / 1.112 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/1.185, allocations: 3.938 kB / 1.112 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.185, allocations: 0 / 1.112 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/1.187, allocations: 0.8169 MB / 1.113 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.187, allocations: 4 kB / 1.113 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.187, allocations: 60.16 kB / 1.113 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.187, allocations: 4 kB / 1.113 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/1.187, allocations: 6.625 kB / 1.113 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.187, allocations: 4 kB / 1.113 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/1.187, allocations: 7.938 kB / 1.113 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/1.188, allocations: 0.621 MB / 1.114 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.188, allocations: 116.7 kB / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/1.188, allocations: 7.938 kB / 1.114 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.188, allocations: 23.98 kB / 1.114 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.188, allocations: 23.91 kB / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.188, allocations: 8 kB / 1.114 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000262/1.189, allocations: 212.6 kB / 1.114 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/1.189, allocations: 0 / 1.114 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006482/1.189, allocations: 115.4 kB / 1.114 GB, free: 2.262 MB / 0.7136 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.001503/1.191, allocations: 1.81 MB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006357/1.191, allocations: 311.1 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.191, allocations: 0 / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/1.192, allocations: 99.5 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/1.192, allocations: 57.66 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/1.194, allocations: 0.5896 MB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/1.194, allocations: 0.8193 MB / 1.118 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000267/1.194, allocations: 49.83 kB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/1.195, allocations: 131.4 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.195, allocations: 0 / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/1.222, allocations: 5.921 MB / 1.124 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.223, allocations: 165.9 kB / 1.124 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.405, allocations: 4 kB / 1.124 GB, free: 8.25 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)