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.007511/0.007511, 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.001832/0.001832, allocations: 201.8 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.9831/0.9831, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 82.03 MB / 0.6751 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002045/0.3446, allocations: 1.454 MB / 0.6766 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.3453, allocations: 449.8 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.3454, allocations: 1.062 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3454, allocations: 7.922 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.3455, allocations: 5.219 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.3456, allocations: 28.56 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.3457, allocations: 52 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.3458, allocations: 13.55 kB / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.3459, allocations: 28.09 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.3459, allocations: 21.28 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3459, allocations: 8.438 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.346, allocations: 4.625 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.346, allocations: 5.531 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.346, allocations: 30.19 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.428e-05/0.3461, allocations: 43.64 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3462, allocations: 0 / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3462, allocations: 0 / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3462, allocations: 0 / 0.6772 GB, free: 15.46 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.0004604/0.3466, allocations: 370.3 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.3467, allocations: 10.25 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.3467, allocations: 31.62 kB / 0.6776 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.3467, allocations: 8.078 kB / 0.6776 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3469, allocations: 175.2 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3469, allocations: 6.469 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3469, allocations: 4.562 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.347, allocations: 56 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.347, allocations: 4 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3471, allocations: 3.984 kB / 0.6779 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3471, allocations: 1.375 kB / 0.6779 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.3471, allocations: 30.64 kB / 0.6779 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3476, allocations: 296.9 kB / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3477, allocations: 58 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.3478, allocations: 32.19 kB / 0.6783 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3478, allocations: 1.156 kB / 0.6783 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3479, allocations: 67.55 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.348, allocations: 0 / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002276/0.3482, allocations: 105.5 kB / 0.6784 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3482, allocations: 53.97 kB / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.3483, allocations: 120.8 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3484, allocations: 27.17 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.3484, allocations: 89.34 kB / 0.6787 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3484, allocations: 22.78 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3485, allocations: 22.81 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.3486, allocations: 325.1 kB / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.3486, allocations: 13.38 kB / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.3487, allocations: 48.11 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.3488, allocations: 71.77 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3488, allocations: 0 / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.349, allocations: 93.83 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.349, allocations: 5.875 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.349, allocations: 1.219 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.349, allocations: 1.156 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.3491, allocations: 20.47 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3491, allocations: 1.125 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.3492, allocations: 16.94 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3492, allocations: 7.625 kB / 0.6793 GB, free: 13.37 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 7.833e-05/0.3493, allocations: 114.7 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.3493, allocations: 2 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3493, allocations: 9 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3493, allocations: 1.062 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3493, allocations: 1.094 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3494, allocations: 7.984 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3498, allocations: 363.5 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3498, allocations: 3.938 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.3498, allocations: 4.219 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3498, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3498, allocations: 1.625 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3498, allocations: 3.938 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3498, allocations: 1.688 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.35, allocations: 186.9 kB / 0.68 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3501, allocations: 87.34 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3501, allocations: 1.062 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.3502, allocations: 11.48 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.3502, allocations: 11.2 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3502, allocations: 3.188 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.3503, allocations: 82.58 kB / 0.6802 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3503, allocations: 4 kB / 0.6802 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002438/0.3505, allocations: 15.75 kB / 0.6802 GB, free: 12.5 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.0003932/0.3509, allocations: 0.7125 MB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.3511, allocations: 53.36 kB / 0.6809 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3511, allocations: 0 / 0.6809 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.3511, allocations: 33.53 kB / 0.681 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3514, allocations: 23 kB / 0.681 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3526, allocations: 1.375 MB / 0.6823 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3529, allocations: 0.6916 MB / 0.683 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3529, allocations: 4.594 kB / 0.683 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.353, allocations: 22.7 kB / 0.683 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.353, allocations: 1.062 kB / 0.683 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.3701, allocations: 1.757 MB / 0.6848 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.805, allocations: 9.609 kB / 0.6848 GB, free: 8.758 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)