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.001027/0.001032, allocations: 106.9 kB / 16.27 MB, free: 5.93 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.001091/0.001091, allocations: 187.1 kB / 17.2 MB, free: 5.574 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.174/1.174, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6784/0.6784, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 72.12 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.279, allocations: 77.92 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002135/0.2811, allocations: 1.458 MB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.2817, allocations: 441.4 kB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.2817, allocations: 0.9688 kB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.2817, allocations: 5.203 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.2818, allocations: 11.38 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2819, allocations: 21.33 kB / 0.5691 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.282, allocations: 51.52 kB / 0.5692 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.2821, allocations: 14.44 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.2821, allocations: 29.38 kB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.2822, allocations: 23.17 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.2822, allocations: 4.688 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.2822, allocations: 5.312 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.2823, allocations: 9.062 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.2823, allocations: 26.89 kB / 0.5693 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.2824, allocations: 44.5 kB / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2824, allocations: 2.312 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2824, allocations: 0.7188 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.2824, allocations: 0 / 0.5694 GB, free: 31.16 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.0003632/0.2828, allocations: 362.3 kB / 0.5697 GB, free: 30.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2828, allocations: 10.47 kB / 0.5697 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.2828, allocations: 33.84 kB / 0.5697 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.2829, allocations: 9.344 kB / 0.5697 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.283, allocations: 164 kB / 0.5699 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.283, allocations: 8.359 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.283, allocations: 4.969 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.2831, allocations: 63.69 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.2831, allocations: 0 / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2831, allocations: 1.219 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2831, allocations: 1 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.565e-05/0.2832, allocations: 31.59 kB / 0.57 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2835, allocations: 305.5 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.2836, allocations: 54.33 kB / 0.5704 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.2837, allocations: 27.05 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.2837, allocations: 2.062 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.2838, allocations: 74.81 kB / 0.5705 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2838, allocations: 1.031 kB / 0.5705 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001798/0.284, allocations: 105.8 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.284, allocations: 53.75 kB / 0.5706 GB, free: 29.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.2841, allocations: 108.2 kB / 0.5707 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2841, allocations: 28.05 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.2841, allocations: 94.64 kB / 0.5708 GB, free: 29.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.2841, allocations: 22.64 kB / 0.5708 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2842, allocations: 24.17 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.2842, allocations: 322.4 kB / 0.5712 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.2843, allocations: 17.03 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.2843, allocations: 46.88 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.2844, allocations: 73.47 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2844, allocations: 1.219 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001173/0.2845, allocations: 97.77 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2845, allocations: 5.438 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2845, allocations: 2.641 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2846, allocations: 2.312 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.2846, allocations: 15.11 kB / 0.5714 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2846, allocations: 1.25 kB / 0.5714 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.2847, allocations: 11.58 kB / 0.5714 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2847, allocations: 7.281 kB / 0.5714 GB, free: 29.21 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 4.995e-05/0.2848, allocations: 120.9 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2848, allocations: 8.359 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2848, allocations: 11.91 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2848, allocations: 3.234 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2848, allocations: 0.9688 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2848, allocations: 0.8438 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.2851, allocations: 357.4 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2851, allocations: 1.062 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.2852, allocations: 5.641 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2852, allocations: 1.125 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2852, allocations: 1.5 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2852, allocations: 8.125 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2852, allocations: 0 / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.2853, allocations: 187.8 kB / 0.5721 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.2853, allocations: 78.3 kB / 0.5722 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2853, allocations: 2.156 kB / 0.5722 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.2854, allocations: 10.16 kB / 0.5722 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.2855, allocations: 12.19 kB / 0.5722 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2855, allocations: 7.5 kB / 0.5722 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.237e-05/0.2855, allocations: 84.17 kB / 0.5723 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2855, allocations: 0.7188 kB / 0.5723 GB, free: 28.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.2857, allocations: 15.88 kB / 0.5723 GB, free: 28.4 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.0002361/0.286, allocations: 0.7117 MB / 0.573 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.2861, allocations: 59.61 kB / 0.5731 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2861, allocations: 0 / 0.5731 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.2862, allocations: 34.2 kB / 0.5731 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2864, allocations: 12.73 kB / 0.5731 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.2873, allocations: 1.384 MB / 0.5745 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.2874, allocations: 0.6869 MB / 0.5751 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.2874, allocations: 4.969 kB / 0.5751 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.2875, allocations: 21.64 kB / 0.5752 GB, free: 25.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2875, allocations: 1.125 kB / 0.5752 GB, free: 25.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.182/2.469, allocations: 1.708 MB / 0.5768 GB, free: 25.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/12.45, allocations: 11.17 kB / 0.5768 GB, free: 25.35 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)