Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.2 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 100.2 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7528/0.9821, allocations: 132.8 MB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.9823, allocations: 87.14 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003077/0.9854, allocations: 1.297 MB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9854, allocations: 0 / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9855, allocations: 4 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004705/0.9859, allocations: 386.2 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.986, allocations: 12.03 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.986, allocations: 7.906 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.9862, allocations: 175 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.9862, allocations: 0 / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.9862, allocations: 11.88 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.986e-05/0.9863, allocations: 31.56 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.9865, allocations: 66.92 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9865, allocations: 4 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9865, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9865, allocations: 4 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.987, allocations: 331.7 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.9871, allocations: 42.44 kB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.9872, allocations: 27.22 kB / 1.017 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.9872, allocations: 0 / 1.017 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.9873, allocations: 63.78 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.9873, allocations: 4 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001675/0.9875, allocations: 69.36 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.9875, allocations: 51.41 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.9876, allocations: 112.7 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.9876, allocations: 29.39 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.9877, allocations: 95.97 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.9877, allocations: 19.73 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.9877, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.9878, allocations: 318.8 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.9878, allocations: 19.56 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.9879, allocations: 30.08 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.9879, allocations: 14.41 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9879, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.988, allocations: 77.34 kB / 1.018 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9881, allocations: 4 kB / 1.018 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9881, allocations: 64 / 1.018 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9881, allocations: 4 kB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.9882, allocations: 15.98 kB / 1.018 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9882, allocations: 11.58 kB / 1.018 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9883, allocations: 23.97 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.9883, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.207e-05/0.9884, allocations: 108.9 kB / 1.018 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.558e-05/0.9885, allocations: 65.12 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.9885, allocations: 7.906 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.9886, allocations: 12.45 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9886, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9886, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9886, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.9887, allocations: 161.4 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9887, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.9888, allocations: 15.98 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9888, allocations: 3.938 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.9888, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9888, allocations: 3.938 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9888, allocations: 3.953 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.9889, allocations: 88.41 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.989, allocations: 88.95 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.989, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.9891, allocations: 19.97 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.9892, allocations: 15.86 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.9892, allocations: 8.125 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.9893, allocations: 87.98 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9893, allocations: 0 / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001801/0.9894, allocations: 12 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003658/0.9898, allocations: 0.6351 MB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.9899, allocations: 35.56 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9899, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.99, allocations: 31.61 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.9902, allocations: 10.64 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.9905, allocations: 145.5 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.9908, allocations: 0.6963 MB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.9908, allocations: 192 / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.9908, allocations: 23.11 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9909, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/1.01, allocations: 1.516 MB / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/1.011, allocations: 165.8 kB / 1.022 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.478, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)