Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.00571/0.00571, allocations: 97.36 kB / 15.73 MB, free: 6.039 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.001598/0.001598, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 287 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 95.86 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003234/0.1624, allocations: 1.876 MB / 0.7678 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1647, allocations: 1.577 MB / 0.7693 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.1648, allocations: 0 / 0.7693 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.165, allocations: 31.78 kB / 0.7693 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1653, allocations: 83.55 kB / 0.7694 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.1657, allocations: 166.3 kB / 0.7696 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.1661, allocations: 281.4 kB / 0.7698 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1662, allocations: 36.78 kB / 0.7699 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1664, allocations: 107.7 kB / 0.77 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1666, allocations: 103.7 kB / 0.7701 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1666, allocations: 20 kB / 0.7701 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1668, allocations: 79.97 kB / 0.7702 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.167, allocations: 91.73 kB / 0.7702 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1671, allocations: 119.3 kB / 0.7704 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1675, allocations: 334.6 kB / 0.7707 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1675, allocations: 0 / 0.7707 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1676, allocations: 0 / 0.7707 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1676, allocations: 0 / 0.7707 GB, free: 4.059 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008505/0.1684, allocations: 0.5691 MB / 0.7712 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1685, allocations: 12.03 kB / 0.7712 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.1685, allocations: 50.73 kB / 0.7713 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1687, allocations: 40.73 kB / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.169, allocations: 274.9 kB / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1691, allocations: 12.38 kB / 0.7716 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1691, allocations: 23.94 kB / 0.7716 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.1696, allocations: 240.9 kB / 0.7719 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1696, allocations: 3.938 kB / 0.7719 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1696, allocations: 8 kB / 0.7719 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1696, allocations: 4 kB / 0.7719 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009658/0.1706, allocations: 0.7529 MB / 0.7726 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1717, allocations: 0.6332 MB / 0.7732 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.1722, allocations: 309.8 kB / 0.7735 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.1724, allocations: 113.4 kB / 0.7736 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.1724, allocations: 20.25 kB / 0.7737 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.1729, allocations: 180.6 kB / 0.7738 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.1729, allocations: 4 kB / 0.7738 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.0007389/0.1736, allocations: 381.6 kB / 0.7742 GB, free: 272 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.1737, allocations: 136.5 kB / 0.7743 GB, free: 104 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2683/0.442, allocations: 303.2 kB / 0.7746 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.4421, allocations: 31.39 kB / 0.7746 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.4422, allocations: 133.2 kB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.4423, allocations: 122.7 kB / 0.7749 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4424, allocations: 67.08 kB / 0.7749 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.4424, allocations: 337.2 kB / 0.7753 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4426, allocations: 83.14 kB / 0.7754 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.4428, allocations: 125 kB / 0.7755 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4431, allocations: 215 kB / 0.7757 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4431, allocations: 0.6562 kB / 0.7757 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004411/0.4436, allocations: 285.6 kB / 0.7759 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4436, allocations: 6.906 kB / 0.776 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4436, allocations: 0.7031 kB / 0.776 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4436, allocations: 6.938 kB / 0.776 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4439, allocations: 65.53 kB / 0.776 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4439, allocations: 1.094 kB / 0.776 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4441, allocations: 34.38 kB / 0.7761 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.4441, allocations: 10.16 kB / 0.7761 GB, free: 14.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001288/0.4442, allocations: 164.4 kB / 0.7762 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.4443, allocations: 26.12 kB / 0.7762 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.445, allocations: 396.6 kB / 0.7766 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.445, allocations: 3.844 kB / 0.7766 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.445, allocations: 1.219 kB / 0.7766 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.445, allocations: 3.672 kB / 0.7766 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.4453, allocations: 342.6 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4453, allocations: 0.5625 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.4455, allocations: 54.84 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4455, allocations: 5.609 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4455, allocations: 13.17 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4455, allocations: 1.703 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4455, allocations: 1.75 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.446, allocations: 332.3 kB / 0.7774 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4461, allocations: 141.7 kB / 0.7775 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.4462, allocations: 17.27 kB / 0.7775 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.4464, allocations: 25.61 kB / 0.7775 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.4464, allocations: 19.89 kB / 0.7775 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.4465, allocations: 18.45 kB / 0.7776 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001875/0.4467, allocations: 237.5 kB / 0.7778 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4467, allocations: 0 / 0.7778 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000303/0.447, allocations: 69.95 kB / 0.7779 GB, free: 13.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001838/0.4488, allocations: 1.166 MB / 0.779 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4492, allocations: 239.9 kB / 0.7792 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4493, allocations: 0 / 0.7792 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4495, allocations: 132.1 kB / 0.7794 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.4497, allocations: 43.59 kB / 0.7794 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4523, allocations: 2.528 MB / 0.7819 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4525, allocations: 0.7668 MB / 0.7826 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.4528, allocations: 148.9 kB / 0.7828 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.453, allocations: 99.52 kB / 0.7828 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.453, allocations: 0 / 0.7828 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.4827, allocations: 6.055 MB / 0.7888 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.613, allocations: 18.94 kB / 0.7888 GB, free: 9.832 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)