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.006107/0.006107, allocations: 102 kB / 15.73 MB, free: 6.039 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.001417/0.001417, allocations: 194 kB / 16.67 MB, free: 5.961 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.358/1.358, 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.7817/0.7817, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.14 kB / 0.5851 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1473, allocations: 80.92 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003903/0.1513, allocations: 1.652 MB / 0.6658 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1531, allocations: 1.16 MB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.1532, allocations: 0 / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1536, allocations: 31.83 kB / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1539, allocations: 63.64 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1544, allocations: 155.2 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.1547, allocations: 241.5 kB / 0.6674 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1549, allocations: 27.02 kB / 0.6674 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.155, allocations: 75.83 kB / 0.6675 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1553, allocations: 91.77 kB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.1553, allocations: 24 kB / 0.6676 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1555, allocations: 71.97 kB / 0.6677 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1556, allocations: 83.75 kB / 0.6677 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1558, allocations: 103.3 kB / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.1562, allocations: 287.1 kB / 0.6681 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1562, allocations: 4 kB / 0.6681 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1562, allocations: 0 / 0.6681 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1562, allocations: 0 / 0.6681 GB, free: 2.191 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.0007969/0.157, allocations: 0.5275 MB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1571, allocations: 17.11 kB / 0.6686 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.1571, allocations: 46.73 kB / 0.6687 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.1572, allocations: 28.56 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1575, allocations: 264.7 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1575, allocations: 8.375 kB / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1576, allocations: 12.38 kB / 0.669 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.1579, allocations: 221.2 kB / 0.6692 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1579, allocations: 4 kB / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.158, allocations: 12 kB / 0.6692 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.158, allocations: 4 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.1588, allocations: 0.7334 MB / 0.6699 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009533/0.1598, allocations: 0.5665 MB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1601, allocations: 224.7 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1603, allocations: 112.8 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.1604, allocations: 20.5 kB / 0.6708 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.1607, allocations: 169.5 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.1607, allocations: 0 / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0006252/0.1613, allocations: 371.2 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1614, allocations: 132.5 kB / 0.6715 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1617, allocations: 309 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1617, allocations: 33.7 kB / 0.6718 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.1618, allocations: 120.8 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.1619, allocations: 110.4 kB / 0.672 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.162, allocations: 69.67 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1621, allocations: 334.8 kB / 0.6724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1622, allocations: 83.89 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1624, allocations: 132.4 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1627, allocations: 200.7 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1627, allocations: 0 / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004057/0.1631, allocations: 277.7 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1632, allocations: 8 kB / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1632, allocations: 0 / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1632, allocations: 0 / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.1634, allocations: 67.84 kB / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1634, allocations: 0 / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1636, allocations: 31.67 kB / 0.6732 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1636, allocations: 12 kB / 0.6732 GB, free: 12.72 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.0001336/0.1637, allocations: 161.8 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.1638, allocations: 23.72 kB / 0.6734 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/0.1644, allocations: 376.8 kB / 0.6737 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1644, allocations: 4 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1645, allocations: 0 / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1645, allocations: 7.922 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1648, allocations: 325.3 kB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1648, allocations: 0 / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1649, allocations: 59.91 kB / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1649, allocations: 0 / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.165, allocations: 15.98 kB / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.165, allocations: 4 kB / 0.6741 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.165, allocations: 0 / 0.6741 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.1654, allocations: 318.2 kB / 0.6744 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1656, allocations: 140.7 kB / 0.6746 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.1656, allocations: 11.98 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1657, allocations: 18.8 kB / 0.6746 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1658, allocations: 23.97 kB / 0.6746 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.1658, allocations: 15.94 kB / 0.6746 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002015/0.1661, allocations: 236.4 kB / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.2e-07/0.1661, allocations: 0 / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002934/0.1664, allocations: 56 kB / 0.6749 GB, free: 10.86 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.001599/0.168, allocations: 1.163 MB / 0.676 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.1684, allocations: 223.8 kB / 0.6762 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1684, allocations: 0 / 0.6762 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.1687, allocations: 128.7 kB / 0.6764 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1689, allocations: 36.59 kB / 0.6764 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.1717, allocations: 2.437 MB / 0.6788 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.172, allocations: 0.7535 MB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.1723, allocations: 142.9 kB / 0.6797 GB, free: 6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.1725, allocations: 91.39 kB / 0.6797 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.1725, allocations: 0 / 0.6797 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.1968, allocations: 5.577 MB / 0.6852 GB, free: 464 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.979, allocations: 9.266 kB / 0.6852 GB, free: 460 kB / 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)