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.00437/0.00437, allocations: 101.6 kB / 15.73 MB, free: 6.453 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.00114/0.00114, allocations: 194.8 kB / 16.67 MB, free: 6.355 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.197/1.197, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 286.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8463/0.8463, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 100.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1373, allocations: 86.96 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002617/0.1399, allocations: 1.649 MB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1414, allocations: 1.164 MB / 0.7687 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1415, allocations: 0 / 0.7687 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1417, allocations: 31.78 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.142, allocations: 67.7 kB / 0.7688 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1423, allocations: 139 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.1426, allocations: 233.6 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.1427, allocations: 24.17 kB / 0.7691 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.1428, allocations: 79.81 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.143, allocations: 95.7 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.143, allocations: 16 kB / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1431, allocations: 71.98 kB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.1432, allocations: 87.72 kB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/0.1433, allocations: 103.3 kB / 0.7696 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1437, allocations: 278.8 kB / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1437, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1437, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1437, allocations: 4 kB / 0.7698 GB, free: 4.891 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.0006917/0.1444, allocations: 0.5494 MB / 0.7704 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1444, allocations: 8.031 kB / 0.7704 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.1445, allocations: 54.73 kB / 0.7704 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.1445, allocations: 28.75 kB / 0.7705 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1448, allocations: 263.9 kB / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1448, allocations: 16.38 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1449, allocations: 12.38 kB / 0.7707 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1452, allocations: 221.3 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1452, allocations: 0 / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1452, allocations: 12 kB / 0.771 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1453, allocations: 4 kB / 0.771 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.146, allocations: 0.7409 MB / 0.7717 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.1468, allocations: 0.5631 MB / 0.7722 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.1472, allocations: 303.6 kB / 0.7725 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1474, allocations: 101.4 kB / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.1474, allocations: 28.22 kB / 0.7727 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.1477, allocations: 172.9 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1477, allocations: 0 / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006146/0.1483, allocations: 373.8 kB / 0.7732 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1484, allocations: 136.5 kB / 0.7733 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1487, allocations: 304 kB / 0.7736 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1487, allocations: 29.7 kB / 0.7736 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.1488, allocations: 124.8 kB / 0.7737 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.1489, allocations: 115 kB / 0.7738 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.149, allocations: 65.69 kB / 0.7739 GB, free: 468 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1491, allocations: 338.8 kB / 0.7742 GB, free: 120 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1492, allocations: 79.95 kB / 0.7743 GB, free: 40 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2575/0.4067, allocations: 121.3 kB / 0.7744 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.4071, allocations: 217.7 kB / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4071, allocations: 0 / 0.7746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004876/0.4076, allocations: 279.5 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4077, allocations: 5.406 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4077, allocations: 0.7031 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4077, allocations: 2.812 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.4079, allocations: 62.28 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.408, allocations: 4.281 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4081, allocations: 26.17 kB / 0.775 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.4082, allocations: 13.75 kB / 0.775 GB, free: 14.89 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.0001587/0.4083, allocations: 165.3 kB / 0.7752 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.4084, allocations: 29.83 kB / 0.7752 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/0.409, allocations: 375.6 kB / 0.7756 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.409, allocations: 5.75 kB / 0.7756 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.409, allocations: 2.75 kB / 0.7756 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.4091, allocations: 2.094 kB / 0.7756 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4093, allocations: 337 kB / 0.7759 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4093, allocations: 0.75 kB / 0.7759 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.4095, allocations: 55.75 kB / 0.7759 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.4095, allocations: 3.922 kB / 0.7759 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4095, allocations: 14 kB / 0.776 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4096, allocations: 1.688 kB / 0.776 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4096, allocations: 2.375 kB / 0.776 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.41, allocations: 331.1 kB / 0.7763 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4101, allocations: 142.7 kB / 0.7764 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.4102, allocations: 5.828 kB / 0.7764 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4103, allocations: 15.95 kB / 0.7764 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4104, allocations: 27.09 kB / 0.7765 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.4104, allocations: 14.16 kB / 0.7765 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001917/0.4106, allocations: 234 kB / 0.7767 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4106, allocations: 0 / 0.7767 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002938/0.4109, allocations: 61.33 kB / 0.7768 GB, free: 14.27 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.001312/0.4122, allocations: 1.147 MB / 0.7779 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.4126, allocations: 234.2 kB / 0.7781 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4126, allocations: 1.062 kB / 0.7781 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.4128, allocations: 128.3 kB / 0.7782 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4131, allocations: 30.59 kB / 0.7783 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.4155, allocations: 2.461 MB / 0.7807 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4157, allocations: 0.7571 MB / 0.7814 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.416, allocations: 146.8 kB / 0.7815 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4161, allocations: 95.58 kB / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4161, allocations: 0.9375 kB / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4393, allocations: 5.481 MB / 0.787 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/7.249, allocations: 24.62 kB / 0.787 GB, free: 10.37 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)