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.000786/0.0007894, allocations: 96.34 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 175 kB / 16.57 MB, free: 6.398 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.203/1.203, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5929/0.5929, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002761, allocations: 9.125 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001584/0.1275, allocations: 1.325 MB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1288, allocations: 1.074 MB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1288, allocations: 0 / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.129, allocations: 35.72 kB / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1292, allocations: 51.81 kB / 0.5592 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1295, allocations: 127.6 kB / 0.5593 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1297, allocations: 153.8 kB / 0.5594 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.1298, allocations: 15.97 kB / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.1299, allocations: 75.83 kB / 0.5595 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.13, allocations: 59.81 kB / 0.5596 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1301, allocations: 8 kB / 0.5596 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1302, allocations: 55.91 kB / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.1303, allocations: 71.8 kB / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.1303, allocations: 61.58 kB / 0.5598 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1305, allocations: 207.8 kB / 0.56 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1305, allocations: 0 / 0.56 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1306, allocations: 0 / 0.56 GB, free: 8.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1306, allocations: 0 / 0.56 GB, free: 8.379 MB / 430.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.0006118/0.1312, allocations: 0.4914 MB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1312, allocations: 12.03 kB / 0.5604 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.1313, allocations: 50.55 kB / 0.5605 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1313, allocations: 27.72 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1316, allocations: 263.7 kB / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1316, allocations: 8 kB / 0.5608 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1317, allocations: 16 kB / 0.5608 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.132, allocations: 217.3 kB / 0.561 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.132, allocations: 0 / 0.561 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.132, allocations: 4 kB / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.132, allocations: 4 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.1328, allocations: 0.7418 MB / 0.5617 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.1336, allocations: 0.5765 MB / 0.5623 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.1339, allocations: 223.4 kB / 0.5625 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.1339, allocations: 15.97 kB / 0.5625 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.1342, allocations: 174.1 kB / 0.5627 GB, free: 5.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.1342, allocations: 0 / 0.5627 GB, free: 5.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005609/0.1348, allocations: 367.6 kB / 0.563 GB, free: 5.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1349, allocations: 136.5 kB / 0.5632 GB, free: 4.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1351, allocations: 301 kB / 0.5635 GB, free: 4.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1351, allocations: 33.7 kB / 0.5635 GB, free: 4.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1352, allocations: 120.8 kB / 0.5636 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.1353, allocations: 118.3 kB / 0.5637 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.1353, allocations: 7.938 kB / 0.5637 GB, free: 4.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1354, allocations: 342.8 kB / 0.5641 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1356, allocations: 75.95 kB / 0.5641 GB, free: 3.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1357, allocations: 123.6 kB / 0.5642 GB, free: 3.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1359, allocations: 99.89 kB / 0.5643 GB, free: 3.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1359, allocations: 4 kB / 0.5643 GB, free: 3.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003663/0.1362, allocations: 277.7 kB / 0.5646 GB, free: 3.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1363, allocations: 4 kB / 0.5646 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1363, allocations: 48 / 0.5646 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1363, allocations: 3.984 kB / 0.5646 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1365, allocations: 59.91 kB / 0.5647 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1365, allocations: 0 / 0.5647 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1367, allocations: 32.84 kB / 0.5647 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1367, allocations: 11.98 kB / 0.5647 GB, free: 3.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.1368, allocations: 169.8 kB / 0.5649 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1369, allocations: 27.66 kB / 0.5649 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.1375, allocations: 380.8 kB / 0.5653 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1375, allocations: 4 kB / 0.5653 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1375, allocations: 0 / 0.5653 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1375, allocations: 0 / 0.5653 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.1378, allocations: 333.2 kB / 0.5656 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1378, allocations: 4 kB / 0.5656 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1379, allocations: 63.91 kB / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.138, allocations: 0 / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.138, allocations: 8 kB / 0.5657 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.138, allocations: 0 / 0.5657 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.138, allocations: 3.984 kB / 0.5657 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1384, allocations: 309.8 kB / 0.566 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1385, allocations: 152.6 kB / 0.5661 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1386, allocations: 12 kB / 0.5661 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1387, allocations: 19.27 kB / 0.5661 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1388, allocations: 23.97 kB / 0.5662 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.1388, allocations: 15.98 kB / 0.5662 GB, free: 1.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.139, allocations: 228.5 kB / 0.5664 GB, free: 1.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.139, allocations: 4 kB / 0.5664 GB, free: 1.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1393, allocations: 75.77 kB / 0.5665 GB, free: 1.332 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.1406, allocations: 1.141 MB / 0.5676 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.141, allocations: 215.8 kB / 0.5678 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.141, allocations: 0 / 0.5678 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1412, allocations: 123.9 kB / 0.5679 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1414, allocations: 32.55 kB / 0.5679 GB, free: 15.95 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1432, allocations: 1.452 MB / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1435, allocations: 0.7574 MB / 0.5701 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.1438, allocations: 146.9 kB / 0.5702 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1439, allocations: 95.33 kB / 0.5703 GB, free: 13.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1439, allocations: 0 / 0.5703 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 28.92/29.06, allocations: 5.4 MB / 0.5756 GB, free: 8.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/29.06, allocations: 253.2 kB / 0.5758 GB, free: 7.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/30.73, allocations: 0 / 0.5758 GB, free: 7.895 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) Environment - environmentSimulation: