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.001342/0.001342, allocations: 106.9 kB / 16.41 MB, free: 6.496 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.001545/0.001545, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.754/0.754, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.42 kB / 0.5726 GB, free: 27.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 78.7 MB / 0.6495 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002747/0.1211, allocations: 1.63 MB / 0.6511 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1228, allocations: 1.167 MB / 0.6522 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.1229, allocations: 0 / 0.6522 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1231, allocations: 27.84 kB / 0.6522 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1234, allocations: 67.61 kB / 0.6523 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1238, allocations: 128.1 kB / 0.6524 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.124, allocations: 245.5 kB / 0.6526 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.1242, allocations: 16.5 kB / 0.6527 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1243, allocations: 75.83 kB / 0.6527 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1245, allocations: 93.17 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.1245, allocations: 20 kB / 0.6528 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1247, allocations: 79.95 kB / 0.6529 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.1248, allocations: 83.75 kB / 0.653 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1249, allocations: 107.3 kB / 0.6531 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1253, allocations: 286.8 kB / 0.6534 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1253, allocations: 0 / 0.6534 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1253, allocations: 0 / 0.6534 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1253, allocations: 0 / 0.6534 GB, free: 0.5625 MB / 494.1 MB 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.0007343/0.126, allocations: 0.5376 MB / 0.6539 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1261, allocations: 12.03 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.1261, allocations: 50.67 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.1262, allocations: 24.8 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1265, allocations: 271.8 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1265, allocations: 12.38 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1266, allocations: 16.75 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.1269, allocations: 225 kB / 0.6545 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1269, allocations: 0 / 0.6545 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.127, allocations: 4 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.127, allocations: 4 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.1278, allocations: 0.749 MB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.1286, allocations: 0.5744 MB / 0.6558 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.1291, allocations: 299.6 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1293, allocations: 105.3 kB / 0.6562 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.1293, allocations: 20.25 kB / 0.6562 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.1297, allocations: 180.9 kB / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.1297, allocations: 0 / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006699/0.1303, allocations: 366.1 kB / 0.6567 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.1304, allocations: 136.5 kB / 0.6568 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1307, allocations: 297.4 kB / 0.6571 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.1308, allocations: 33.7 kB / 0.6571 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1308, allocations: 120.7 kB / 0.6573 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.1309, allocations: 127 kB / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.131, allocations: 61.69 kB / 0.6574 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1312, allocations: 338.8 kB / 0.6578 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1313, allocations: 79.95 kB / 0.6578 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1315, allocations: 131.3 kB / 0.658 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1318, allocations: 213.9 kB / 0.6582 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1318, allocations: 0 / 0.6582 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004328/0.1323, allocations: 281.3 kB / 0.6584 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1323, allocations: 4 kB / 0.6584 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1323, allocations: 0 / 0.6584 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1323, allocations: 0 / 0.6584 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1326, allocations: 63.91 kB / 0.6585 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1326, allocations: 4 kB / 0.6585 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1327, allocations: 23.88 kB / 0.6585 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.1328, allocations: 19.92 kB / 0.6586 GB, free: 10.96 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.0001542/0.1329, allocations: 161.8 kB / 0.6587 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.133, allocations: 31.75 kB / 0.6587 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006797/0.1337, allocations: 388.7 kB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1337, allocations: 4 kB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1337, allocations: 0 / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1337, allocations: 7.922 kB / 0.6591 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.134, allocations: 333.2 kB / 0.6594 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.134, allocations: 0 / 0.6594 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1342, allocations: 55.91 kB / 0.6595 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1342, allocations: 0 / 0.6595 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.1343, allocations: 15.98 kB / 0.6595 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1343, allocations: 4 kB / 0.6595 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1343, allocations: 4 kB / 0.6595 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.1348, allocations: 313.9 kB / 0.6598 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1349, allocations: 140.8 kB / 0.6599 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.135, allocations: 4 kB / 0.6599 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1351, allocations: 15.98 kB / 0.66 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.1352, allocations: 27.95 kB / 0.66 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.1352, allocations: 8 kB / 0.66 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002004/0.1354, allocations: 244.4 kB / 0.6602 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1354, allocations: 0 / 0.6602 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002859/0.1357, allocations: 63.89 kB / 0.6603 GB, free: 9.078 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.001495/0.1372, allocations: 1.156 MB / 0.6614 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.1376, allocations: 227.8 kB / 0.6616 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1376, allocations: 4 kB / 0.6616 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1378, allocations: 131.8 kB / 0.6618 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1381, allocations: 33.22 kB / 0.6618 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.1408, allocations: 2.468 MB / 0.6642 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1411, allocations: 0.7535 MB / 0.6649 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.1415, allocations: 142.8 kB / 0.6651 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.1416, allocations: 99.39 kB / 0.6652 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1416, allocations: 4 kB / 0.6652 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1644, allocations: 5.467 MB / 0.6705 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.841, allocations: 10.42 kB / 0.6705 GB, free: 14.73 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)