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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001041/0.001041, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9147/0.9147, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3724, allocations: 82.02 MB / 0.6751 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002066/0.3745, allocations: 1.455 MB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006329/0.3752, allocations: 458.8 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.3752, allocations: 1.125 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.3753, allocations: 3.938 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.3753, allocations: 5.094 kB / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.3755, allocations: 29.05 kB / 0.677 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.3756, allocations: 50.92 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.3757, allocations: 14.83 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.3757, allocations: 23.55 kB / 0.6771 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.3758, allocations: 21.33 kB / 0.6771 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3758, allocations: 3.344 kB / 0.6771 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.3758, allocations: 4.5 kB / 0.6771 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.3759, allocations: 10.2 kB / 0.6771 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.3759, allocations: 34.95 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.376, allocations: 44.05 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.376, allocations: 1.094 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.605e-06/0.376, allocations: 0 / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.376, allocations: 3.938 kB / 0.6772 GB, free: 15.42 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.0004539/0.3765, allocations: 361.3 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3765, allocations: 9.469 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3766, allocations: 40.95 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.3766, allocations: 7.297 kB / 0.6776 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3767, allocations: 167.7 kB / 0.6778 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3767, allocations: 6.75 kB / 0.6778 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3768, allocations: 4.562 kB / 0.6778 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3769, allocations: 63.39 kB / 0.6778 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3769, allocations: 4 kB / 0.6779 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3769, allocations: 1.125 kB / 0.6779 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3769, allocations: 1.25 kB / 0.6779 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/0.377, allocations: 25.42 kB / 0.6779 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.3774, allocations: 304.8 kB / 0.6782 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3775, allocations: 53.84 kB / 0.6782 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.3776, allocations: 29.23 kB / 0.6782 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.3776, allocations: 0 / 0.6782 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3778, allocations: 80.91 kB / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.3778, allocations: 0 / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002229/0.378, allocations: 97.3 kB / 0.6784 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3781, allocations: 57.64 kB / 0.6785 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.3781, allocations: 104.7 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3782, allocations: 34.88 kB / 0.6786 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.3782, allocations: 85.38 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3782, allocations: 19.17 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3783, allocations: 31.08 kB / 0.6787 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.3784, allocations: 320 kB / 0.679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.3784, allocations: 17.42 kB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.3785, allocations: 53.36 kB / 0.6791 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.3786, allocations: 62.34 kB / 0.6792 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3786, allocations: 0 / 0.6792 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001352/0.3787, allocations: 99.28 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3788, allocations: 7.031 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3788, allocations: 1.031 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3788, allocations: 2.25 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.3789, allocations: 15.42 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3789, allocations: 6.312 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.379, allocations: 15.55 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.379, allocations: 7.562 kB / 0.6793 GB, free: 13.34 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 8.105e-05/0.3791, allocations: 123.3 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3791, allocations: 2.844 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3791, allocations: 9.406 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3791, allocations: 0 / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3791, allocations: 1.406 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3791, allocations: 4 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3795, allocations: 360.4 kB / 0.6798 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3795, allocations: 96 / 0.6798 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.3795, allocations: 10.72 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3796, allocations: 5.453 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3796, allocations: 1.531 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3796, allocations: 3.938 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3796, allocations: 0 / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.3797, allocations: 180.1 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3798, allocations: 90.11 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3798, allocations: 1.125 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.3799, allocations: 7.375 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.38, allocations: 12.3 kB / 0.6801 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.38, allocations: 2.656 kB / 0.6801 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.38, allocations: 82.42 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.38, allocations: 1.438 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002286/0.3803, allocations: 18.28 kB / 0.6802 GB, free: 12.48 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.000448/0.3807, allocations: 0.7131 MB / 0.6809 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3808, allocations: 53.02 kB / 0.6809 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3809, allocations: 0 / 0.6809 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.3809, allocations: 33.42 kB / 0.681 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3812, allocations: 17.5 kB / 0.681 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3824, allocations: 1.374 MB / 0.6823 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3826, allocations: 0.6888 MB / 0.683 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.3826, allocations: 8.203 kB / 0.683 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.3827, allocations: 15.44 kB / 0.683 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3827, allocations: 0 / 0.683 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.3993, allocations: 1.765 MB / 0.6847 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.311, allocations: 12.86 kB / 0.6848 GB, free: 8.73 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)