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.006837/0.006836, allocations: 108.9 kB / 15.74 MB, free: 6.016 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.001414/0.001414, allocations: 188.5 kB / 16.67 MB, free: 5.941 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8123/0.8123, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 74.86 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 80.91 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003366/0.1558, allocations: 1.644 MB / 0.6658 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1577, allocations: 1.171 MB / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.1578, allocations: 0 / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1581, allocations: 27.84 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.1585, allocations: 67.64 kB / 0.667 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.1589, allocations: 151 kB / 0.6672 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.1592, allocations: 237.6 kB / 0.6674 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1593, allocations: 31.02 kB / 0.6674 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1595, allocations: 79.77 kB / 0.6675 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1597, allocations: 95.77 kB / 0.6676 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.1598, allocations: 16 kB / 0.6676 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.16, allocations: 75.97 kB / 0.6677 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.1601, allocations: 79.75 kB / 0.6677 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1602, allocations: 99.39 kB / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1606, allocations: 291.1 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1606, allocations: 0 / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1606, allocations: 0 / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.1606, allocations: 0 / 0.6681 GB, free: 2.246 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.0008124/0.1614, allocations: 0.5353 MB / 0.6686 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1615, allocations: 13.11 kB / 0.6686 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.1616, allocations: 46.73 kB / 0.6687 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.1616, allocations: 32.56 kB / 0.6687 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.162, allocations: 264.7 kB / 0.669 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1621, allocations: 8.375 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1621, allocations: 20.38 kB / 0.669 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1625, allocations: 213.2 kB / 0.6692 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1625, allocations: 7.984 kB / 0.6692 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1625, allocations: 4 kB / 0.6692 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1625, allocations: 4 kB / 0.6692 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.1633, allocations: 0.7373 MB / 0.6699 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.1643, allocations: 0.5665 MB / 0.6705 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.1647, allocations: 228.8 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1649, allocations: 104.8 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.1649, allocations: 20.41 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.1653, allocations: 177.5 kB / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.1653, allocations: 0 / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0006396/0.166, allocations: 367.3 kB / 0.6714 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.166, allocations: 140.5 kB / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1663, allocations: 301 kB / 0.6718 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1664, allocations: 33.7 kB / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.1665, allocations: 128.7 kB / 0.6719 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.1666, allocations: 110.4 kB / 0.672 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.1667, allocations: 61.69 kB / 0.6721 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1668, allocations: 342.8 kB / 0.6724 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1669, allocations: 79.95 kB / 0.6725 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1671, allocations: 128.4 kB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.1675, allocations: 200.7 kB / 0.6728 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1675, allocations: 3.984 kB / 0.6728 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004317/0.1679, allocations: 277.7 kB / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1679, allocations: 7.938 kB / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.168, allocations: 0 / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.168, allocations: 0 / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1682, allocations: 55.97 kB / 0.6731 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1682, allocations: 7.938 kB / 0.6731 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1684, allocations: 35.67 kB / 0.6732 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.1684, allocations: 12 kB / 0.6732 GB, free: 12.77 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.0001763/0.1686, allocations: 157.8 kB / 0.6733 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.1687, allocations: 23.72 kB / 0.6734 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.1694, allocations: 376.7 kB / 0.6737 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1694, allocations: 3.984 kB / 0.6737 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1694, allocations: 4 kB / 0.6737 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1694, allocations: 3.938 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1697, allocations: 321.3 kB / 0.674 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1697, allocations: 11.98 kB / 0.6741 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1699, allocations: 51.92 kB / 0.6741 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1699, allocations: 4 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1699, allocations: 11.98 kB / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1699, allocations: 0 / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.17, allocations: 0 / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.1704, allocations: 322.2 kB / 0.6744 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1706, allocations: 136.7 kB / 0.6746 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.1706, allocations: 12 kB / 0.6746 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1708, allocations: 23.92 kB / 0.6746 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1709, allocations: 19.97 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1709, allocations: 19.92 kB / 0.6746 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000201/0.1711, allocations: 232.5 kB / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1711, allocations: 0 / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003244/0.1714, allocations: 59.98 kB / 0.6749 GB, free: 10.9 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.001661/0.1731, allocations: 1.153 MB / 0.676 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.1735, allocations: 223.8 kB / 0.6762 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1736, allocations: 0 / 0.6762 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1738, allocations: 128.7 kB / 0.6764 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1741, allocations: 40.69 kB / 0.6764 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.1771, allocations: 2.434 MB / 0.6788 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1774, allocations: 0.7574 MB / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003219/0.1777, allocations: 150.9 kB / 0.6797 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1779, allocations: 87.39 kB / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.1779, allocations: 0 / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.2037, allocations: 5.571 MB / 0.6852 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.078, allocations: 0 / 0.6852 GB, free: 0.5117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)