Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_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.001859/0.001859, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.002108/0.002108, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.812/0.812, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.56 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 78.88 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002874/0.1303, allocations: 1.616 MB / 0.6522 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.132, allocations: 1.171 MB / 0.6533 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.1321, allocations: 0 / 0.6533 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1323, allocations: 23.86 kB / 0.6533 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1325, allocations: 66.38 kB / 0.6534 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1329, allocations: 136.9 kB / 0.6535 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1332, allocations: 233.6 kB / 0.6537 GB, free: 324 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.1333, allocations: 20.5 kB / 0.6538 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.1334, allocations: 83.81 kB / 0.6538 GB, free: 216 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1336, allocations: 87.77 kB / 0.6539 GB, free: 128 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.1336, allocations: 16 kB / 0.6539 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1338, allocations: 83.91 kB / 0.654 GB, free: 28 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1339, allocations: 83.8 kB / 0.6541 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.134, allocations: 107.3 kB / 0.6542 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1344, allocations: 278.8 kB / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1344, allocations: 4 kB / 0.6545 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1344, allocations: 0 / 0.6545 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1344, allocations: 0 / 0.6545 GB, free: 15.56 MB / 0.4981 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.0007687/0.1352, allocations: 0.538 MB / 0.655 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1352, allocations: 12.03 kB / 0.655 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.1353, allocations: 54.73 kB / 0.6551 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.1354, allocations: 28.75 kB / 0.6551 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1357, allocations: 255.9 kB / 0.6553 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1357, allocations: 12.38 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1357, allocations: 28.31 kB / 0.6554 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.1361, allocations: 221 kB / 0.6556 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1361, allocations: 0 / 0.6556 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1362, allocations: 4 kB / 0.6556 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1362, allocations: 4 kB / 0.6556 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.1371, allocations: 0.7412 MB / 0.6563 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008277/0.138, allocations: 0.5783 MB / 0.6569 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1385, allocations: 299.6 kB / 0.6572 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1387, allocations: 101.4 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.1387, allocations: 20.25 kB / 0.6573 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.139, allocations: 180.8 kB / 0.6574 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.1391, allocations: 4 kB / 0.6574 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006845/0.1398, allocations: 361.3 kB / 0.6578 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.1398, allocations: 136.5 kB / 0.6579 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.1402, allocations: 304 kB / 0.6582 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1402, allocations: 33.7 kB / 0.6582 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.1403, allocations: 120.8 kB / 0.6584 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1404, allocations: 123 kB / 0.6585 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1405, allocations: 69.62 kB / 0.6585 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1407, allocations: 334.8 kB / 0.6589 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1408, allocations: 79.95 kB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.141, allocations: 132.4 kB / 0.6591 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1414, allocations: 208.6 kB / 0.6593 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1414, allocations: 0 / 0.6593 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004637/0.1419, allocations: 285.7 kB / 0.6595 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1419, allocations: 5.875 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1419, allocations: 4 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1419, allocations: 0 / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1422, allocations: 63.91 kB / 0.6596 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1422, allocations: 4 kB / 0.6596 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1423, allocations: 27.81 kB / 0.6596 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1424, allocations: 15.98 kB / 0.6597 GB, free: 9.961 MB / 0.4981 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.0001541/0.1425, allocations: 157.8 kB / 0.6598 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.1426, allocations: 31.8 kB / 0.6598 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.1433, allocations: 385.5 kB / 0.6602 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1433, allocations: 8 kB / 0.6602 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1433, allocations: 7.938 kB / 0.6602 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1433, allocations: 3.938 kB / 0.6602 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.1437, allocations: 329.3 kB / 0.6605 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1437, allocations: 0 / 0.6605 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1439, allocations: 59.91 kB / 0.6606 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1439, allocations: 0 / 0.6606 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1439, allocations: 8 kB / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1439, allocations: 4 kB / 0.6606 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1439, allocations: 0 / 0.6606 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.1445, allocations: 321.8 kB / 0.6609 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1446, allocations: 148.9 kB / 0.6611 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1446, allocations: 7.938 kB / 0.6611 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1448, allocations: 15.98 kB / 0.6611 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.1449, allocations: 31.84 kB / 0.6611 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1449, allocations: 15.98 kB / 0.6611 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002195/0.1451, allocations: 225.8 kB / 0.6613 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1451, allocations: 0 / 0.6613 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002861/0.1454, allocations: 67.92 kB / 0.6614 GB, free: 8.074 MB / 0.4981 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.002092/0.1475, allocations: 1.148 MB / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.148, allocations: 227.8 kB / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.148, allocations: 0 / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.1482, allocations: 131.8 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1484, allocations: 42.75 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.1514, allocations: 2.461 MB / 0.6653 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1518, allocations: 0.7535 MB / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.1522, allocations: 146.9 kB / 0.6662 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1523, allocations: 99.39 kB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1523, allocations: 0 / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1824, allocations: 5.473 MB / 0.6716 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.061/9.244, allocations: 4 kB / 0.6716 GB, free: 13.72 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)