Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.708/1.708, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001868/0.001869, allocations: 188.8 kB / 366.7 MB, free: 1.691 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.573/1.573, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0007964/0.0007964, allocations: 90.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.518e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6614, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.8598, allocations: 139.2 MB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.8601, allocations: 72.72 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.8774, allocations: 6.497 MB / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8774, allocations: 0 / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.762e-05/0.8775, allocations: 8 kB / 1.116 GB, free: 4.383 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009663/0.8784, allocations: 0.5996 MB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.8785, allocations: 8.031 kB / 1.116 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.8786, allocations: 55.42 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.8793, allocations: 375.4 kB / 1.117 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.8793, allocations: 15.98 kB / 1.117 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.8794, allocations: 20 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003806/0.8798, allocations: 201.5 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.8802, allocations: 282.3 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8802, allocations: 0 / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.8803, allocations: 1.875 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.8803, allocations: 15.09 kB / 1.117 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.8819, allocations: 1.1 MB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.8823, allocations: 203.3 kB / 1.119 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.8825, allocations: 89.22 kB / 1.119 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.8825, allocations: 192 / 1.119 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.8827, allocations: 150.5 kB / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.8828, allocations: 0 / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003528/0.8831, allocations: 181.3 kB / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.8832, allocations: 140.4 kB / 1.119 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.8835, allocations: 261 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.8835, allocations: 25.7 kB / 1.119 GB, free: 496 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.8837, allocations: 232.3 kB / 1.12 GB, free: 260 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.8838, allocations: 70.91 kB / 1.12 GB, free: 188 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.8838, allocations: 0 / 1.12 GB, free: 188 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8839, allocations: 346.8 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.8841, allocations: 68 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.8842, allocations: 140.5 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.8844, allocations: 80.69 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.8844, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003723/0.8848, allocations: 248.7 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.885, allocations: 454.9 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.885, allocations: 3.984 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.885, allocations: 8 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.8853, allocations: 63.91 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.8853, allocations: 7.938 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.8855, allocations: 35.81 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.8856, allocations: 15 kB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.8856, allocations: 4 kB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000279/0.8859, allocations: 179.7 kB / 1.121 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.8859, allocations: 4 kB / 1.121 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-06/0.8859, allocations: 0 / 1.121 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.8861, allocations: 47.92 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.8861, allocations: 1 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.8863, allocations: 27.92 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.8863, allocations: 12 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001045/0.8864, allocations: 112.9 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002754/0.8867, allocations: 186.8 kB / 1.122 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.8867, allocations: 31.62 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.8868, allocations: 30.86 kB / 1.122 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.8868, allocations: 4 kB / 1.122 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8868, allocations: 0 / 1.122 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8868, allocations: 3.953 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.8879, allocations: 0.7913 MB / 1.122 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8879, allocations: 4 kB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.8882, allocations: 52.12 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8882, allocations: 7.953 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.8882, allocations: 4 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.8882, allocations: 7.984 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8882, allocations: 6.344 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.8888, allocations: 0.5867 MB / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.8889, allocations: 113.9 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.889, allocations: 6.375 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.8892, allocations: 23.98 kB / 1.123 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.8892, allocations: 23.92 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.8893, allocations: 8 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001874/0.8894, allocations: 200.6 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8895, allocations: 3.938 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004983/0.89, allocations: 111.4 kB / 1.124 GB, free: 11.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001184/0.8911, allocations: 1.679 MB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.8917, allocations: 287.7 kB / 1.125 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8917, allocations: 0 / 1.125 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.8918, allocations: 86.95 kB / 1.126 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.8923, allocations: 61.98 kB / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.8936, allocations: 0.5795 MB / 1.126 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.894, allocations: 0.8074 MB / 1.127 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.8943, allocations: 51.42 kB / 1.127 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.8945, allocations: 123.4 kB / 1.127 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of SimCode: time 2.054e-06/0.8945, allocations: 0 / 1.127 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.9216, allocations: 5.726 MB / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.9219, allocations: 168.2 kB / 1.133 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.121, allocations: 2.688 kB / 1.133 GB, free: 2.312 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)