Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 103.4 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 195.4 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6822/0.6822, allocations: 115.3 MB / 406 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 76.17 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002364/0.2817, allocations: 1.506 MB / 0.5575 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.2823, allocations: 437.8 kB / 0.5579 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.2823, allocations: 1.281 kB / 0.5579 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.2824, allocations: 5.109 kB / 0.5579 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.2825, allocations: 11.36 kB / 0.5579 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.2826, allocations: 19.86 kB / 0.5579 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.2827, allocations: 54.95 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.2828, allocations: 16.53 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.2828, allocations: 23.09 kB / 0.558 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.2829, allocations: 23.42 kB / 0.558 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2829, allocations: 4.031 kB / 0.5581 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2829, allocations: 4.625 kB / 0.5581 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2829, allocations: 8.547 kB / 0.5581 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.283, allocations: 27.06 kB / 0.5581 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.2831, allocations: 42.08 kB / 0.5581 GB, free: 34.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2831, allocations: 0.6875 kB / 0.5581 GB, free: 34.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2831, allocations: 0 / 0.5581 GB, free: 34.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.2831, allocations: 1.812 kB / 0.5581 GB, free: 34.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000366/0.2835, allocations: 360.5 kB / 0.5585 GB, free: 34.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2835, allocations: 11.03 kB / 0.5585 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.2835, allocations: 43.69 kB / 0.5585 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.2836, allocations: 8.594 kB / 0.5585 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.2837, allocations: 163 kB / 0.5587 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2837, allocations: 8.672 kB / 0.5587 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2837, allocations: 4.906 kB / 0.5587 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.2838, allocations: 57.73 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2838, allocations: 4.438 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2838, allocations: 2.25 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2838, allocations: 7.156 kB / 0.5588 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.2839, allocations: 26.09 kB / 0.5588 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.2843, allocations: 301.5 kB / 0.5591 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.2844, allocations: 59.91 kB / 0.5591 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.2844, allocations: 27.31 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2844, allocations: 0.5625 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.2846, allocations: 75.91 kB / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.2846, allocations: 0 / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001896/0.2848, allocations: 97.27 kB / 0.5593 GB, free: 33.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.2848, allocations: 57.62 kB / 0.5594 GB, free: 33.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.2849, allocations: 111 kB / 0.5595 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2849, allocations: 31.2 kB / 0.5595 GB, free: 33.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.2849, allocations: 82.91 kB / 0.5596 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2849, allocations: 25.47 kB / 0.5596 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.285, allocations: 28.86 kB / 0.5597 GB, free: 33.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.285, allocations: 322.6 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.2851, allocations: 20.25 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.2851, allocations: 43.81 kB / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.2852, allocations: 69.34 kB / 0.5601 GB, free: 33.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2852, allocations: 0 / 0.5601 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001218/0.2853, allocations: 93.33 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2853, allocations: 7.875 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2853, allocations: 2.188 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2854, allocations: 2.594 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.2854, allocations: 13.59 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2854, allocations: 1.5 kB / 0.5602 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.2855, allocations: 18.66 kB / 0.5602 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2855, allocations: 8.156 kB / 0.5602 GB, free: 33.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.2856, allocations: 120.8 kB / 0.5603 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2856, allocations: 7.172 kB / 0.5604 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.2856, allocations: 9.828 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2856, allocations: 1.094 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2856, allocations: 1.406 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2857, allocations: 2.078 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.286, allocations: 361.5 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.286, allocations: 0.6562 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.286, allocations: 3.422 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.286, allocations: 2.766 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.286, allocations: 10.41 kB / 0.5607 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.286, allocations: 4.828 kB / 0.5607 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.286, allocations: 1.625 kB / 0.5607 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2862, allocations: 178.7 kB / 0.5609 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2862, allocations: 83.69 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2862, allocations: 1.844 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.2863, allocations: 11.05 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2864, allocations: 8.047 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2864, allocations: 7.312 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.2864, allocations: 82.06 kB / 0.5611 GB, free: 32.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2864, allocations: 0 / 0.5611 GB, free: 32.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.2866, allocations: 14.44 kB / 0.5611 GB, free: 32.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.2869, allocations: 0.7179 MB / 0.5618 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.287, allocations: 58.64 kB / 0.5619 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.287, allocations: 0 / 0.5619 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.2871, allocations: 28.14 kB / 0.5619 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2873, allocations: 12.25 kB / 0.5619 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.2883, allocations: 1.408 MB / 0.5633 GB, free: 30.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.2884, allocations: 0.686 MB / 0.5639 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.2884, allocations: 5.422 kB / 0.564 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.2884, allocations: 20.42 kB / 0.564 GB, free: 29.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2884, allocations: 2.094 kB / 0.564 GB, free: 29.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.311, allocations: 1.587 MB / 0.5655 GB, free: 29.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.3111, allocations: 189.2 kB / 0.5657 GB, free: 29.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.946, allocations: 0 / 0.5657 GB, free: 29.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)