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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001076/0.001076, allocations: 175.8 kB / 371.6 MB, free: 3.336 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.753/1.753, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001006/0.001006, allocations: 94.67 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.207e-05/5.209e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9831/1.31, allocations: 139.9 MB / 1.116 GB, free: 44.08 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.31, allocations: 73.05 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01507/1.326, allocations: 6.408 MB / 1.123 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/1.326, allocations: 0 / 1.123 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.326, allocations: 11.98 kB / 1.123 GB, free: 40.69 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008403/1.326, allocations: 0.6179 MB / 1.123 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.327, allocations: 12.03 kB / 1.123 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/1.327, allocations: 53.91 kB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/1.327, allocations: 359.1 kB / 1.124 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/1.327, allocations: 33.11 kB / 1.124 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/1.327, allocations: 40.25 kB / 1.124 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/1.328, allocations: 364.4 kB / 1.124 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.328, allocations: 4 kB / 1.124 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/1.328, allocations: 19.83 kB / 1.124 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.328, allocations: 8 kB / 1.124 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/1.328, allocations: 238.7 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/1.33, allocations: 1.289 MB / 1.126 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/1.33, allocations: 223.8 kB / 1.126 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/1.331, allocations: 105.5 kB / 1.126 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/1.331, allocations: 8 kB / 1.126 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/1.331, allocations: 161 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.192e-06/1.331, allocations: 0 / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0003806/1.331, allocations: 227 kB / 1.126 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/1.331, allocations: 132.5 kB / 1.126 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/1.332, allocations: 356.7 kB / 1.127 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.332, allocations: 41.08 kB / 1.127 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.332, allocations: 225.2 kB / 1.127 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/1.332, allocations: 92.11 kB / 1.127 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.332, allocations: 3.438 kB / 1.127 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/1.332, allocations: 350.2 kB / 1.128 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.332, allocations: 76.19 kB / 1.128 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/1.332, allocations: 162.2 kB / 1.128 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/1.332, allocations: 95.42 kB / 1.128 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.332, allocations: 0 / 1.128 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003744/1.333, allocations: 295.7 kB / 1.128 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.333, allocations: 0.5272 MB / 1.129 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.333, allocations: 0.75 kB / 1.129 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.333, allocations: 4.938 kB / 1.129 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/1.333, allocations: 62.88 kB / 1.129 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.333, allocations: 15.47 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/1.334, allocations: 50.59 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/1.334, allocations: 11.47 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.334, allocations: 4 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003175/1.334, allocations: 217.1 kB / 1.129 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/1.334, allocations: 8.781 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-06/1.334, allocations: 0 / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.334, allocations: 54.88 kB / 1.129 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/1.334, allocations: 0 / 1.129 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.334, allocations: 41.72 kB / 1.129 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.334, allocations: 8.859 kB / 1.129 GB, free: 35.64 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 () * 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 8.974e-05/1.334, allocations: 119.6 kB / 1.129 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/1.334, allocations: 52.27 kB / 1.129 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.335, allocations: 46.19 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.335, allocations: 4.969 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.335, allocations: 4 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.335, allocations: 0 / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.336, allocations: 0.8995 MB / 1.13 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.336, allocations: 4 kB / 1.13 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.336, allocations: 54.16 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.336, allocations: 5.062 kB / 1.13 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.336, allocations: 7.625 kB / 1.13 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.336, allocations: 8.25 kB / 1.13 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.336, allocations: 4 kB / 1.13 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/1.337, allocations: 0.6561 MB / 1.131 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/1.337, allocations: 127.1 kB / 1.131 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/1.337, allocations: 7.5 kB / 1.131 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/1.337, allocations: 22.7 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/1.337, allocations: 31.62 kB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/1.337, allocations: 12.44 kB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002616/1.337, allocations: 280.1 kB / 1.131 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.337, allocations: 0 / 1.131 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004716/1.338, allocations: 121.9 kB / 1.131 GB, free: 33.58 MB / 0.7448 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.0002227/1.338, allocations: 119.6 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005113/1.339, allocations: 346.6 kB / 1.132 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.339, allocations: 0 / 1.132 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.339, allocations: 98.41 kB / 1.132 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/1.339, allocations: 70.69 kB / 1.132 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.34, allocations: 0.5516 MB / 1.133 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.341, allocations: 0.8148 MB / 1.133 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002402/1.341, allocations: 63.61 kB / 1.133 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/1.341, allocations: 27.44 kB / 1.134 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.341, allocations: 0 / 1.134 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.007559/1.348, allocations: 3.739 MB / 1.137 GB, free: 29.67 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)