Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.008624/0.008624, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.001976/0.001976, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 1.058/1.058, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 59.91 kB / 0.595 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5129, allocations: 82.04 MB / 0.6751 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004474/0.5174, allocations: 3.115 MB / 0.6782 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.5196, allocations: 0.9712 MB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.52, allocations: 13.56 kB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.5203, allocations: 75.28 kB / 0.6792 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.5205, allocations: 101.7 kB / 0.6793 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.5211, allocations: 250.4 kB / 0.6796 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.5217, allocations: 0.5464 MB / 0.6801 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.5221, allocations: 253.4 kB / 0.6803 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.5224, allocations: 218.2 kB / 0.6805 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.5226, allocations: 197.5 kB / 0.6807 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.5227, allocations: 51.78 kB / 0.6808 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.5228, allocations: 51.66 kB / 0.6808 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.009e-05/0.5229, allocations: 116.8 kB / 0.6809 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.5231, allocations: 233.1 kB / 0.6812 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.5237, allocations: 0.6144 MB / 0.6818 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5238, allocations: 4 kB / 0.6818 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5238, allocations: 1.094 kB / 0.6818 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5238, allocations: 0 / 0.6818 GB, free: 12.1 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001221/0.525, allocations: 0.787 MB / 0.6825 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5251, allocations: 9.062 kB / 0.6825 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.505e-05/0.5252, allocations: 74.61 kB / 0.6826 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5253, allocations: 59.59 kB / 0.6827 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.5259, allocations: 417.6 kB / 0.6831 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.526, allocations: 28.94 kB / 0.6831 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.5261, allocations: 40.59 kB / 0.6831 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.5267, allocations: 395.6 kB / 0.6835 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5268, allocations: 3.938 kB / 0.6835 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.5268, allocations: 15.28 kB / 0.6835 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5268, allocations: 13.02 kB / 0.6835 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.5274, allocations: 269 kB / 0.6838 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.5291, allocations: 1.308 MB / 0.6851 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.5298, allocations: 316.1 kB / 0.6854 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.53, allocations: 134.1 kB / 0.6855 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.5301, allocations: 8.312 kB / 0.6855 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.5305, allocations: 177 kB / 0.6857 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.5305, allocations: 5.312 kB / 0.6857 GB, free: 9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008464/0.5313, allocations: 385.4 kB / 0.6861 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.5314, allocations: 85.97 kB / 0.6861 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.5318, allocations: 355.4 kB / 0.6865 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.5319, allocations: 36.52 kB / 0.6865 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.532, allocations: 245.1 kB / 0.6867 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.5321, allocations: 108 kB / 0.6868 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.5323, allocations: 72.69 kB / 0.6869 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5325, allocations: 348 kB / 0.6872 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.5327, allocations: 100.4 kB / 0.6873 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.533, allocations: 168.7 kB / 0.6875 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.5335, allocations: 259.8 kB / 0.6877 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5335, allocations: 3.938 kB / 0.6878 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006405/0.5342, allocations: 350 kB / 0.6881 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5342, allocations: 9.562 kB / 0.6881 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5342, allocations: 1.312 kB / 0.6881 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5342, allocations: 4.375 kB / 0.6881 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.5345, allocations: 64.22 kB / 0.6882 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5345, allocations: 2.906 kB / 0.6882 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.5348, allocations: 44.78 kB / 0.6882 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.5348, allocations: 9.719 kB / 0.6882 GB, free: 7.156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0002027/0.535, allocations: 183.5 kB / 0.6884 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.5351, allocations: 38.95 kB / 0.6884 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.181e-05/0.5352, allocations: 40.5 kB / 0.6885 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5352, allocations: 8.078 kB / 0.6885 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5352, allocations: 0 / 0.6885 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5352, allocations: 5.391 kB / 0.6885 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.5364, allocations: 0.8076 MB / 0.6893 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5364, allocations: 4 kB / 0.6893 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.5367, allocations: 48 kB / 0.6893 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5367, allocations: 1.812 kB / 0.6893 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.5367, allocations: 5.812 kB / 0.6893 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5367, allocations: 1.812 kB / 0.6893 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5367, allocations: 0 / 0.6893 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.5376, allocations: 0.5215 MB / 0.6898 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.5377, allocations: 149.6 kB / 0.69 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.5378, allocations: 10.31 kB / 0.69 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.538, allocations: 16.77 kB / 0.69 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.5381, allocations: 27.03 kB / 0.69 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.5381, allocations: 13.83 kB / 0.69 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002615/0.5384, allocations: 244.8 kB / 0.6903 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5384, allocations: 0 / 0.6903 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003986/0.5388, allocations: 89.72 kB / 0.6904 GB, free: 5.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.001133/0.5399, allocations: 1.061 MB / 0.6914 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.5406, allocations: 266.3 kB / 0.6917 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5406, allocations: 3.938 kB / 0.6917 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.5409, allocations: 144.3 kB / 0.6918 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.5414, allocations: 78.88 kB / 0.6919 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.546, allocations: 3.443 MB / 0.6952 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5465, allocations: 0.8113 MB / 0.696 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.5467, allocations: 43.27 kB / 0.6961 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.5469, allocations: 143.3 kB / 0.6962 GB, free: 412 kB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.5469, allocations: 4 kB / 0.6962 GB, free: 408 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.578, allocations: 7.455 MB / 0.7035 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.933, allocations: 6.125 kB / 0.7035 GB, free: 9.125 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)