Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_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.005653/0.005653, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00119/0.00119, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8016/0.8016, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.92 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 80.92 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002871/0.1305, allocations: 1.64 MB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1321, allocations: 1.171 MB / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.1322, allocations: 0 / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.1324, allocations: 31.83 kB / 0.6669 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1327, allocations: 67.62 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1331, allocations: 147.1 kB / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.1334, allocations: 241.6 kB / 0.6674 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1335, allocations: 16.5 kB / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1337, allocations: 87.77 kB / 0.6675 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1339, allocations: 91.77 kB / 0.6676 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1339, allocations: 16 kB / 0.6676 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1341, allocations: 79.95 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1342, allocations: 83.75 kB / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.1343, allocations: 99.39 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1346, allocations: 286.8 kB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1346, allocations: 0 / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.626e-06/0.1347, allocations: 0 / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1347, allocations: 3.938 kB / 0.6681 GB, free: 2.23 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006937/0.1354, allocations: 0.5458 MB / 0.6686 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1354, allocations: 9.109 kB / 0.6687 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.1355, allocations: 50.73 kB / 0.6687 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1355, allocations: 28.75 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1358, allocations: 272.7 kB / 0.669 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1358, allocations: 12.38 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1359, allocations: 12.38 kB / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1362, allocations: 221.2 kB / 0.6692 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1363, allocations: 3.938 kB / 0.6692 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1363, allocations: 4 kB / 0.6692 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1363, allocations: 4 kB / 0.6692 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.1371, allocations: 0.7373 MB / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.1381, allocations: 0.5744 MB / 0.6705 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1384, allocations: 232.7 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1386, allocations: 100.8 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.1387, allocations: 16.5 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.139, allocations: 173.5 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.139, allocations: 0 / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.000649/0.1397, allocations: 375.4 kB / 0.6714 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.1397, allocations: 136.5 kB / 0.6715 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.14, allocations: 305 kB / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1401, allocations: 33.7 kB / 0.6718 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.1402, allocations: 116.8 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.1402, allocations: 123 kB / 0.6721 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.1403, allocations: 61.69 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1405, allocations: 342.8 kB / 0.6724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1406, allocations: 75.95 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1408, allocations: 132.4 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.1411, allocations: 200.7 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1411, allocations: 0 / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004091/0.1415, allocations: 277.8 kB / 0.6731 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1415, allocations: 7.984 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1416, allocations: 0 / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1416, allocations: 4 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1418, allocations: 55.91 kB / 0.6732 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1418, allocations: 11.94 kB / 0.6732 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.142, allocations: 39 kB / 0.6732 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.142, allocations: 8 kB / 0.6732 GB, free: 12.73 MB / 0.5137 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.0001575/0.1422, allocations: 161.8 kB / 0.6734 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.1422, allocations: 23.86 kB / 0.6734 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.1428, allocations: 372.8 kB / 0.6737 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1429, allocations: 4 kB / 0.6738 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1429, allocations: 0 / 0.6738 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1429, allocations: 7.922 kB / 0.6738 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.1432, allocations: 329.3 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1432, allocations: 7.938 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1434, allocations: 55.91 kB / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1434, allocations: 0 / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1434, allocations: 15.98 kB / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1434, allocations: 3.984 kB / 0.6742 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1434, allocations: 0 / 0.6742 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.1439, allocations: 318.4 kB / 0.6745 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.144, allocations: 144.8 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1441, allocations: 15.98 kB / 0.6746 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1442, allocations: 15.98 kB / 0.6746 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1443, allocations: 19.97 kB / 0.6746 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1443, allocations: 19.94 kB / 0.6747 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001986/0.1445, allocations: 236.4 kB / 0.6749 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1445, allocations: 0 / 0.6749 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002857/0.1448, allocations: 55.94 kB / 0.6749 GB, free: 10.85 MB / 0.5137 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.001483/0.1463, allocations: 1.146 MB / 0.6761 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.1467, allocations: 219.8 kB / 0.6763 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1467, allocations: 4 kB / 0.6763 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.1469, allocations: 128.7 kB / 0.6764 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1472, allocations: 37.92 kB / 0.6764 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1497, allocations: 2.449 MB / 0.6788 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.15, allocations: 0.7574 MB / 0.6796 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.1504, allocations: 146.9 kB / 0.6797 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1505, allocations: 91.39 kB / 0.6798 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.1505, allocations: 0 / 0.6798 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1722, allocations: 5.48 MB / 0.6851 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.855, allocations: 5.922 kB / 0.6851 GB, free: 0.5391 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)