Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.816/1.816, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.00107/0.00107, allocations: 184.8 kB / 366.7 MB, free: 1.652 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.856/1.856, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008123/0.0008124, allocations: 82.53 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.858e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7497, allocations: 116.3 MB / 0.9734 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.9633, allocations: 137.8 MB / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.9636, allocations: 67.95 kB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002217/0.9658, allocations: 0.8019 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9658, allocations: 0.5312 kB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.9659, allocations: 0 / 1.109 GB, free: 11.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004371/0.9663, allocations: 357.7 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9664, allocations: 9.344 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.9664, allocations: 7.906 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9665, allocations: 171 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.9665, allocations: 0.5312 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.9666, allocations: 0 / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.693e-05/0.9666, allocations: 20.36 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.9667, allocations: 50.19 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9668, allocations: 4.516 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9668, allocations: 1.75 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9668, allocations: 0 / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.9673, allocations: 284 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.9674, allocations: 32.05 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.9674, allocations: 16.86 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.9674, allocations: 2.812 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.9675, allocations: 36.59 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9675, allocations: 1.031 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.9676, allocations: 53.78 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.9677, allocations: 53.38 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.9677, allocations: 97 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.9678, allocations: 25.7 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.9678, allocations: 84.12 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.9678, allocations: 18.72 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.9678, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.9679, allocations: 314.8 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.968, allocations: 8 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.968, allocations: 8 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.968, allocations: 11.98 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.968, allocations: 0 / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.792e-05/0.9681, allocations: 50.17 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9681, allocations: 5.969 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.9681, allocations: 0 / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.9682, allocations: 0 / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.9683, allocations: 26.81 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.9683, allocations: 0 / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.9684, allocations: 19.98 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.9684, allocations: 4 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.55e-05/0.9685, allocations: 104.9 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.972e-05/0.9686, allocations: 55.94 kB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.9686, allocations: 4 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.9687, allocations: 61.95 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9687, allocations: 4.766 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9688, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9688, allocations: 4 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.9689, allocations: 151.4 kB / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9689, allocations: 0 / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.969, allocations: 19.98 kB / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.969, allocations: 0 / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.9691, allocations: 0 / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.9691, allocations: 4 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9691, allocations: 0 / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.9692, allocations: 159.6 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.9692, allocations: 85.09 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.9693, allocations: 0 / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9694, allocations: 17.86 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.9694, allocations: 0 / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.9694, allocations: 7.984 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.9695, allocations: 89.16 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9695, allocations: 0 / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001994/0.9697, allocations: 7.938 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003751/0.9701, allocations: 0.6838 MB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.9702, allocations: 23.94 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9702, allocations: 4 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.9702, allocations: 15.98 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.9704, allocations: 8 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.9708, allocations: 97.53 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.971, allocations: 0.6846 MB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.971, allocations: 8 kB / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.9711, allocations: 15.44 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9711, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.9953, allocations: 0.9662 MB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.9957, allocations: 134.7 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.596, allocations: 0 / 1.114 GB, free: 6.023 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)