Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.001395/0.001396, allocations: 99.61 kB / 16.4 MB, free: 6.461 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.001354/0.001354, allocations: 196 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8221/0.8221, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 66.73 kB / 0.5735 GB, free: 26.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1397, allocations: 78.87 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003036/0.1428, allocations: 1.655 MB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1446, allocations: 1.164 MB / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1447, allocations: 0 / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.145, allocations: 31.78 kB / 0.6533 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1453, allocations: 73.36 kB / 0.6534 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1457, allocations: 151.9 kB / 0.6536 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.146, allocations: 245.5 kB / 0.6538 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.1461, allocations: 24.2 kB / 0.6538 GB, free: 248 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1463, allocations: 79.77 kB / 0.6539 GB, free: 168 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1465, allocations: 103.8 kB / 0.654 GB, free: 64 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.1465, allocations: 19.94 kB / 0.654 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1467, allocations: 76.11 kB / 0.6541 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1468, allocations: 79.8 kB / 0.6542 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.147, allocations: 107.4 kB / 0.6543 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1474, allocations: 290.6 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1474, allocations: 0 / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1474, allocations: 0 / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.1474, allocations: 0 / 0.6545 GB, free: 15.5 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.0009097/0.1483, allocations: 0.5535 MB / 0.6551 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1484, allocations: 8.031 kB / 0.6551 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1484, allocations: 50.73 kB / 0.6551 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1485, allocations: 24.8 kB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1488, allocations: 269 kB / 0.6554 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1489, allocations: 12.38 kB / 0.6554 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1489, allocations: 24.3 kB / 0.6555 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.1493, allocations: 233 kB / 0.6557 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1493, allocations: 3.938 kB / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1493, allocations: 4 kB / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1493, allocations: 4 kB / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.1503, allocations: 0.7373 MB / 0.6564 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.1512, allocations: 0.5781 MB / 0.657 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.1516, allocations: 231.4 kB / 0.6572 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1518, allocations: 100.8 kB / 0.6573 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1519, allocations: 19.97 kB / 0.6573 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.1522, allocations: 169.5 kB / 0.6575 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1522, allocations: 0 / 0.6575 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007127/0.153, allocations: 370.8 kB / 0.6578 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.153, allocations: 136.5 kB / 0.658 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1534, allocations: 312.9 kB / 0.6583 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1534, allocations: 33.7 kB / 0.6583 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.1535, allocations: 124.7 kB / 0.6584 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1536, allocations: 111.1 kB / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1537, allocations: 65.64 kB / 0.6586 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1539, allocations: 334.8 kB / 0.6589 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1541, allocations: 79.95 kB / 0.659 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.1543, allocations: 132.4 kB / 0.6591 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1546, allocations: 209.2 kB / 0.6593 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1546, allocations: 0 / 0.6593 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004697/0.1551, allocations: 269.3 kB / 0.6596 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1551, allocations: 4 kB / 0.6596 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1551, allocations: 0 / 0.6596 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1552, allocations: 4 kB / 0.6596 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1554, allocations: 63.89 kB / 0.6596 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1554, allocations: 7.938 kB / 0.6596 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1556, allocations: 27.83 kB / 0.6597 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.1556, allocations: 15.98 kB / 0.6597 GB, free: 9.965 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 (34): * Single equations (assignments): 34 * 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.0001664/0.1558, allocations: 161.7 kB / 0.6598 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1558, allocations: 27.81 kB / 0.6598 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.1566, allocations: 377 kB / 0.6602 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1566, allocations: 4 kB / 0.6602 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1566, allocations: 7.875 kB / 0.6602 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1566, allocations: 3.984 kB / 0.6602 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.157, allocations: 333.3 kB / 0.6605 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.157, allocations: 4 kB / 0.6605 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1572, allocations: 55.91 kB / 0.6606 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1572, allocations: 4 kB / 0.6606 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1572, allocations: 11.98 kB / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1572, allocations: 0 / 0.6606 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1572, allocations: 7.938 kB / 0.6606 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.1577, allocations: 309.9 kB / 0.6609 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1579, allocations: 140.8 kB / 0.6611 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.1579, allocations: 11.98 kB / 0.6611 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1581, allocations: 15.98 kB / 0.6611 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.1581, allocations: 27.91 kB / 0.6611 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1582, allocations: 16 kB / 0.6611 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002307/0.1584, allocations: 232.4 kB / 0.6613 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1584, allocations: 0 / 0.6613 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000297/0.1587, allocations: 63.89 kB / 0.6614 GB, free: 8.086 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 (33): * Single equations (assignments): 32 * 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.002147/0.1609, allocations: 1.149 MB / 0.6625 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.1613, allocations: 223.8 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1613, allocations: 0 / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1615, allocations: 127.8 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1618, allocations: 29.42 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.1649, allocations: 2.453 MB / 0.6653 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1653, allocations: 0.7574 MB / 0.666 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000347/0.1657, allocations: 154.9 kB / 0.6662 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1658, allocations: 87.39 kB / 0.6663 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1659, allocations: 0 / 0.6663 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.1964, allocations: 5.509 MB / 0.6716 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.237, allocations: 9.672 kB / 0.6716 GB, free: 13.72 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)