Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.804/2.804, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001419/0.001418, allocations: 168.5 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.4 MB / 0.6297 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 91.7 kB / 0.743 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004842, allocations: 17.81 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2534, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002479/0.2559, allocations: 1.18 MB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2572, allocations: 461 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.2573, allocations: 7.938 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.2573, allocations: 0 / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2575, allocations: 7.922 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2577, allocations: 11.98 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2578, allocations: 51.84 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.258, allocations: 11.98 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.2581, allocations: 19.92 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.2582, allocations: 15.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2582, allocations: 4 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.2582, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.2583, allocations: 11.94 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.2583, allocations: 33.69 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.2585, allocations: 36.16 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2585, allocations: 3.938 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2585, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2585, allocations: 0 / 0.9802 GB, free: 26.45 MB / 0.6198 GB 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.0006461/0.2592, allocations: 349.4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2592, allocations: 16.02 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.2593, allocations: 38.56 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.2594, allocations: 11.86 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2595, allocations: 171 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2595, allocations: 7.984 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2596, allocations: 8 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.2598, allocations: 53.69 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2598, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2598, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2599, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.26, allocations: 31.92 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.2607, allocations: 304.7 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.261, allocations: 58.59 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.2611, allocations: 24.94 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2611, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.2613, allocations: 75.33 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/0.2614, allocations: 3.984 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003849/0.2618, allocations: 105.6 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2618, allocations: 51.41 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.262, allocations: 109.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.262, allocations: 29.7 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.2621, allocations: 84.14 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.2621, allocations: 31.62 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.2622, allocations: 4 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.2623, allocations: 314.8 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.2623, allocations: 19.92 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2625, allocations: 51.36 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.2626, allocations: 16 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2626, allocations: 4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002742/0.2629, allocations: 93.61 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2629, allocations: 4 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.263, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.263, allocations: 7.953 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2631, allocations: 15.94 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2632, allocations: 0 / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2633, allocations: 15.89 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2634, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.2635, allocations: 123.2 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.2635, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.2636, allocations: 7.969 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2636, allocations: 3.953 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2636, allocations: 0 / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2637, allocations: 3.984 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.2643, allocations: 370.7 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2644, allocations: 4.062 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.2644, allocations: 4.094 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2645, allocations: 7.891 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2645, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2645, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2645, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.2648, allocations: 179.5 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2648, allocations: 85.02 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2649, allocations: 3.953 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2651, allocations: 11.98 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.2652, allocations: 12.27 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2652, allocations: 0 / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.2653, allocations: 83.27 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2653, allocations: 0 / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005395/0.2658, allocations: 16 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB 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 (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.0005488/0.2664, allocations: 0.7191 MB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2667, allocations: 55.86 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2667, allocations: 3.938 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2668, allocations: 20 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.2674, allocations: 24.38 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2689, allocations: 497.3 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2691, allocations: 0.6848 MB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.2692, allocations: 4 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.2693, allocations: 19.44 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.2693, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.2918, allocations: 1.479 MB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.2921, allocations: 198.5 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/2.923, allocations: 3.938 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)