Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.007918/0.007918, allocations: 95.58 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.00217/0.002171, allocations: 204.6 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 275 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.002711, allocations: 91.86 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1514, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002879/0.1543, allocations: 1.638 MB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.156, allocations: 1.164 MB / 0.7687 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.1561, allocations: 0 / 0.7687 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1563, allocations: 27.84 kB / 0.7687 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1565, allocations: 75.62 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1569, allocations: 134.5 kB / 0.7689 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1572, allocations: 233.6 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.1573, allocations: 28.16 kB / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1574, allocations: 75.83 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1576, allocations: 91.77 kB / 0.7693 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1576, allocations: 16 kB / 0.7693 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1578, allocations: 79.91 kB / 0.7694 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.1579, allocations: 79.8 kB / 0.7695 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.158, allocations: 107.3 kB / 0.7696 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1584, allocations: 274.8 kB / 0.7698 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1584, allocations: 0 / 0.7698 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1584, allocations: 0 / 0.7698 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.1584, allocations: 0 / 0.7698 GB, free: 4.938 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007763/0.1592, allocations: 0.5456 MB / 0.7704 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1592, allocations: 8.031 kB / 0.7704 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.1593, allocations: 58.67 kB / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.1594, allocations: 28.75 kB / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1597, allocations: 267.8 kB / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1597, allocations: 12.38 kB / 0.7707 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.1597, allocations: 16.38 kB / 0.7707 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1601, allocations: 221.2 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1601, allocations: 0 / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1601, allocations: 12 kB / 0.7709 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1602, allocations: 4 kB / 0.771 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.1611, allocations: 0.741 MB / 0.7717 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.162, allocations: 0.5747 MB / 0.7722 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.1625, allocations: 299.6 kB / 0.7725 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1627, allocations: 105.4 kB / 0.7726 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.1627, allocations: 20.25 kB / 0.7726 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.1631, allocations: 176.9 kB / 0.7728 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.1631, allocations: 0 / 0.7728 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006979/0.1638, allocations: 369.8 kB / 0.7732 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.1639, allocations: 140.5 kB / 0.7733 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.1642, allocations: 304 kB / 0.7736 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1642, allocations: 29.7 kB / 0.7736 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.1643, allocations: 120.8 kB / 0.7737 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1645, allocations: 119 kB / 0.7738 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1646, allocations: 65.69 kB / 0.7739 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1648, allocations: 342.8 kB / 0.7742 GB, free: 152 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1649, allocations: 79.95 kB / 0.7743 GB, free: 72 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2857/0.4506, allocations: 124.6 kB / 0.7744 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.451, allocations: 215.2 kB / 0.7746 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.451, allocations: 0.9375 kB / 0.7746 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004737/0.4515, allocations: 274.9 kB / 0.7749 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4515, allocations: 5.531 kB / 0.7749 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4515, allocations: 0.7031 kB / 0.7749 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4516, allocations: 2.125 kB / 0.7749 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4518, allocations: 59.36 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4518, allocations: 2.719 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.452, allocations: 34.94 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.452, allocations: 14.3 kB / 0.775 GB, free: 14.86 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 (35): * Single equations (assignments): 35 * 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.0001326/0.4522, allocations: 162.8 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4522, allocations: 25.39 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.4529, allocations: 375.3 kB / 0.7755 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4529, allocations: 7.062 kB / 0.7756 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4529, allocations: 4.438 kB / 0.7756 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4529, allocations: 2.484 kB / 0.7756 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.4532, allocations: 329.3 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4532, allocations: 4.031 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4534, allocations: 57.69 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4534, allocations: 2.5 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4534, allocations: 10.64 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4534, allocations: 1.953 kB / 0.7759 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4534, allocations: 0.8438 kB / 0.776 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.4538, allocations: 333 kB / 0.7763 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.454, allocations: 143 kB / 0.7764 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.454, allocations: 6.953 kB / 0.7764 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4542, allocations: 13.66 kB / 0.7764 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4542, allocations: 24.38 kB / 0.7764 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.4543, allocations: 16.91 kB / 0.7765 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001807/0.4544, allocations: 230.8 kB / 0.7767 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4544, allocations: 0 / 0.7767 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002953/0.4547, allocations: 69.62 kB / 0.7767 GB, free: 14.23 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 (34): * Single equations (assignments): 33 * 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.001792/0.4565, allocations: 1.144 MB / 0.7779 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.457, allocations: 232.9 kB / 0.7781 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.457, allocations: 0.9688 kB / 0.7781 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.4572, allocations: 125.9 kB / 0.7782 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4574, allocations: 37.03 kB / 0.7782 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.4598, allocations: 2.464 MB / 0.7807 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.46, allocations: 0.7541 MB / 0.7814 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003135/0.4603, allocations: 151.5 kB / 0.7815 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4605, allocations: 96.17 kB / 0.7816 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.4605, allocations: 1.031 kB / 0.7816 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.4887, allocations: 5.48 MB / 0.787 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.744, allocations: 26.05 kB / 0.787 GB, free: 10.34 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)