Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.678/1.678, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001445/0.001445, allocations: 180.9 kB / 366.7 MB, free: 1.648 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.893/1.893, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0009036/0.0009034, allocations: 96.7 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.072e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8108, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/1.028, allocations: 138.9 MB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.028, allocations: 95.92 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005193/1.033, allocations: 1.754 MB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/1.033, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.397e-06/1.033, allocations: 4 kB / 1.111 GB, free: 9.426 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006997/1.034, allocations: 423.1 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.034, allocations: 16.03 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/1.034, allocations: 23.2 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.034, allocations: 186.8 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.035, allocations: 0 / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/1.035, allocations: 4 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001184/1.035, allocations: 40 kB / 1.112 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/1.035, allocations: 78.5 kB / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.035, allocations: 2.562 kB / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.035, allocations: 0 / 1.112 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/1.035, allocations: 4 kB / 1.112 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/1.036, allocations: 377.1 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/1.036, allocations: 50.47 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/1.036, allocations: 24.98 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/1.036, allocations: 0 / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.036, allocations: 38.55 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/1.036, allocations: 0 / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002071/1.036, allocations: 61.61 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.036, allocations: 55.39 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.036, allocations: 123.4 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/1.036, allocations: 29.7 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/1.036, allocations: 104.1 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.036, allocations: 11.81 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/1.036, allocations: 0 / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.037, allocations: 326.8 kB / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/1.037, allocations: 16 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/1.037, allocations: 27.92 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/1.037, allocations: 8 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.037, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/1.037, allocations: 81.53 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.037, allocations: 4.938 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.037, allocations: 0 / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.037, allocations: 4 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.037, allocations: 15.98 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.037, allocations: 2.5 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/1.037, allocations: 27.97 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/1.037, allocations: 2.953 kB / 1.113 GB, free: 7.121 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.253e-05/1.037, allocations: 115.7 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001104/1.037, allocations: 73.48 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/1.037, allocations: 7.906 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/1.037, allocations: 10.38 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.037, allocations: 6.5 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.037, allocations: 0 / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/1.037, allocations: 0 / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/1.038, allocations: 170.2 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.038, allocations: 3.953 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/1.038, allocations: 15.98 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.038, allocations: 0 / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.038, allocations: 0 / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.038, allocations: 3.984 kB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.038, allocations: 0 / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/1.038, allocations: 167.4 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/1.038, allocations: 84.97 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.038, allocations: 4 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.038, allocations: 27.97 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/1.038, allocations: 19.97 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/1.038, allocations: 2.562 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.512e-05/1.038, allocations: 105.7 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.038, allocations: 4 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000229/1.039, allocations: 15.94 kB / 1.114 GB, free: 6.227 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0004429/1.039, allocations: 0.6928 MB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001351/1.039, allocations: 55.5 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.039, allocations: 0 / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/1.039, allocations: 24.22 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/1.04, allocations: 11.92 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/1.04, allocations: 148.5 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.04, allocations: 0.7002 MB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.815e-05/1.04, allocations: 9.438 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/1.04, allocations: 27.42 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.04, allocations: 3.938 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/1.062, allocations: 1.743 MB / 1.117 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.062, allocations: 156.1 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.963, allocations: 4 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)