Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.755/1.755, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001097/0.001097, allocations: 184 kB / 371.6 MB, free: 3.363 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.615/1.615, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008806/0.0008807, allocations: 93.17 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.166e-05/4.167e-05, allocations: 4 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/1.051, allocations: 142.6 MB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/1.052, allocations: 87.38 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01756/1.069, allocations: 8.132 MB / 1.127 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.833e-06/1.069, allocations: 0 / 1.127 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.483e-05/1.069, allocations: 16 kB / 1.127 GB, free: 37.92 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.0007909/1.07, allocations: 0.6487 MB / 1.128 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.07, allocations: 12.03 kB / 1.128 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.03e-05/1.07, allocations: 76.67 kB / 1.128 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/1.07, allocations: 57.06 kB / 1.128 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/1.071, allocations: 362 kB / 1.128 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.071, allocations: 37.22 kB / 1.128 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/1.071, allocations: 44.94 kB / 1.128 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/1.072, allocations: 393.8 kB / 1.129 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.072, allocations: 0 / 1.129 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/1.072, allocations: 13.94 kB / 1.129 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.072, allocations: 8 kB / 1.129 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/1.072, allocations: 255 kB / 1.129 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/1.074, allocations: 1.347 MB / 1.13 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/1.074, allocations: 284.2 kB / 1.131 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/1.074, allocations: 118.3 kB / 1.131 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/1.074, allocations: 4 kB / 1.131 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/1.075, allocations: 176.2 kB / 1.131 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/1.075, allocations: 0 / 1.131 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0003903/1.075, allocations: 249.2 kB / 1.131 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/1.075, allocations: 140.4 kB / 1.131 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/1.075, allocations: 370.8 kB / 1.132 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.075, allocations: 33.39 kB / 1.132 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.076, allocations: 246.5 kB / 1.132 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/1.076, allocations: 93.06 kB / 1.132 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/1.076, allocations: 7.75 kB / 1.132 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/1.076, allocations: 352.1 kB / 1.132 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.076, allocations: 82.12 kB / 1.132 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/1.076, allocations: 158.5 kB / 1.133 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/1.076, allocations: 106.2 kB / 1.133 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.076, allocations: 0 / 1.133 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003939/1.077, allocations: 313.9 kB / 1.133 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.077, allocations: 0.5277 MB / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.077, allocations: 0 / 1.133 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.077, allocations: 8.641 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/1.077, allocations: 67.86 kB / 1.134 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.077, allocations: 0 / 1.134 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.077, allocations: 64.59 kB / 1.134 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/1.077, allocations: 14.11 kB / 1.134 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/1.077, allocations: 5.25 kB / 1.134 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002954/1.078, allocations: 234.2 kB / 1.134 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/1.078, allocations: 0 / 1.134 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/1.078, allocations: 8.125 kB / 1.134 GB, free: 32.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.078, allocations: 54.88 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/1.078, allocations: 12.81 kB / 1.134 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/1.078, allocations: 43.62 kB / 1.134 GB, free: 32.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/1.078, allocations: 8 kB / 1.134 GB, free: 32.57 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 (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 7.166e-05/1.078, allocations: 120 kB / 1.134 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/1.078, allocations: 47.44 kB / 1.134 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/1.078, allocations: 56.25 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.078, allocations: 4 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.078, allocations: 0 / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.078, allocations: 3.516 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/1.079, allocations: 0.9603 MB / 1.135 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.079, allocations: 1.75 kB / 1.135 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.079, allocations: 58.09 kB / 1.135 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.079, allocations: 4 kB / 1.135 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.079, allocations: 11.75 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.079, allocations: 11.75 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.079, allocations: 3.938 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/1.08, allocations: 0.7111 MB / 1.136 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/1.08, allocations: 130.3 kB / 1.136 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/1.08, allocations: 12.47 kB / 1.136 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/1.08, allocations: 29.62 kB / 1.136 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/1.08, allocations: 25.39 kB / 1.136 GB, free: 30.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/1.08, allocations: 10.94 kB / 1.136 GB, free: 30.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002473/1.081, allocations: 294.2 kB / 1.136 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 1.136 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004477/1.081, allocations: 134.2 kB / 1.136 GB, free: 30.41 MB / 0.7448 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 () * 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.0008232/1.082, allocations: 1.949 MB / 1.138 GB, free: 28.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000479/1.083, allocations: 354.7 kB / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.083, allocations: 1.25 kB / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/1.083, allocations: 111.9 kB / 1.139 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/1.083, allocations: 91.38 kB / 1.139 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.084, allocations: 0.6919 MB / 1.14 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/1.085, allocations: 0.8261 MB / 1.14 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002554/1.085, allocations: 66.61 kB / 1.14 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/1.085, allocations: 152.5 kB / 1.141 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.085, allocations: 1.219 kB / 1.141 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/1.107, allocations: 7.964 MB / 1.148 GB, free: 22.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.107, allocations: 180.7 kB / 1.149 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.443, allocations: 0 / 1.149 GB, free: 21.84 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)