Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_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.00764/0.007641, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00213/0.00213, allocations: 202 kB / 16.68 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.015/1.015, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.89 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3409, allocations: 82.03 MB / 0.6754 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002122/0.3431, allocations: 1.449 MB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.3438, allocations: 450.7 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.3439, allocations: 0 / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3439, allocations: 4.938 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.344, allocations: 9 kB / 0.6772 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.3441, allocations: 27.84 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.3442, allocations: 51.44 kB / 0.6773 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.3443, allocations: 14.77 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.3444, allocations: 23.61 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.3445, allocations: 21.83 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3445, allocations: 7.453 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.3445, allocations: 4.469 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.3445, allocations: 18.2 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.3446, allocations: 22.44 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3447, allocations: 44.03 kB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3447, allocations: 0 / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3447, allocations: 3.938 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3447, allocations: 1.344 kB / 0.6775 GB, free: 15.26 MB / 0.5137 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.0005119/0.3452, allocations: 357.9 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3453, allocations: 9.406 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3453, allocations: 37.16 kB / 0.6779 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.3454, allocations: 11.05 kB / 0.6779 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3455, allocations: 175.4 kB / 0.678 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3455, allocations: 6.562 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3455, allocations: 8.016 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3457, allocations: 59.23 kB / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3457, allocations: 0.9688 kB / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3457, allocations: 1.406 kB / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3457, allocations: 0 / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.3458, allocations: 30.42 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.3463, allocations: 301.2 kB / 0.6784 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3464, allocations: 58.03 kB / 0.6785 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.3464, allocations: 31.81 kB / 0.6785 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3465, allocations: 1.156 kB / 0.6785 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3466, allocations: 75.62 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3466, allocations: 1.156 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.3468, allocations: 97.17 kB / 0.6787 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3469, allocations: 57.7 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.347, allocations: 104.5 kB / 0.6788 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.347, allocations: 34.77 kB / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.3471, allocations: 90.42 kB / 0.6789 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3471, allocations: 19.14 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.3472, allocations: 33.77 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3473, allocations: 321.1 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.3474, allocations: 17.45 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.3474, allocations: 47.89 kB / 0.6794 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3475, allocations: 68.06 kB / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3476, allocations: 0 / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.3477, allocations: 90.42 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3477, allocations: 5.25 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3477, allocations: 1.062 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3477, allocations: 2.469 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.3478, allocations: 11.81 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3478, allocations: 5.266 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3479, allocations: 16.48 kB / 0.6796 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3479, allocations: 6.688 kB / 0.6796 GB, free: 13.18 MB / 0.5137 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,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 9.577e-05/0.348, allocations: 124.3 kB / 0.6797 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.348, allocations: 2.781 kB / 0.6797 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.3481, allocations: 11.95 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3481, allocations: 1.438 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3481, allocations: 1.25 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3481, allocations: 0 / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3485, allocations: 360.2 kB / 0.68 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3486, allocations: 4 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.3486, allocations: 10.84 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3486, allocations: 1.156 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3486, allocations: 1.125 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3486, allocations: 11.98 kB / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3486, allocations: 0 / 0.6801 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.3488, allocations: 179.8 kB / 0.6802 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3489, allocations: 91.64 kB / 0.6803 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3489, allocations: 5.438 kB / 0.6803 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.349, allocations: 7 kB / 0.6803 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.349, allocations: 12.02 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.349, allocations: 1.438 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.3491, allocations: 83.27 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3491, allocations: 1.25 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000238/0.3494, allocations: 14.69 kB / 0.6804 GB, free: 12.3 MB / 0.5137 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 (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.0004754/0.3498, allocations: 0.7134 MB / 0.6811 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.35, allocations: 52.58 kB / 0.6812 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.35, allocations: 3.938 kB / 0.6812 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.3501, allocations: 29.83 kB / 0.6812 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3503, allocations: 12.47 kB / 0.6812 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3517, allocations: 1.379 MB / 0.6826 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.352, allocations: 0.684 MB / 0.6833 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.3521, allocations: 11.42 kB / 0.6833 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3521, allocations: 19 kB / 0.6833 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3521, allocations: 0 / 0.6833 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.3736, allocations: 1.77 MB / 0.685 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.198, allocations: 14.95 kB / 0.685 GB, free: 8.559 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)