Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001293/0.001292, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001372/0.001372, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9477/0.9477, allocations: 135.1 MB / 425.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 56.06 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1464, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002942/0.1493, allocations: 1.714 MB / 0.5857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.15, allocations: 386.8 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.1502, allocations: 4 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1503, allocations: 11.86 kB / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.1504, allocations: 19.86 kB / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.1508, allocations: 110.5 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.151, allocations: 111.6 kB / 0.5863 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1511, allocations: 36.25 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.1512, allocations: 47.84 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.1513, allocations: 35.84 kB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1513, allocations: 8 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1515, allocations: 59.95 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.1515, allocations: 23.91 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.1516, allocations: 51.72 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1518, allocations: 123.7 kB / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1518, allocations: 8 kB / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1518, allocations: 0 / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1518, allocations: 0 / 0.5867 GB, free: 2.055 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005938/0.1524, allocations: 423 kB / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1525, allocations: 12.03 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.1525, allocations: 42.69 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.1528, allocations: 28.81 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.153, allocations: 192.2 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.1531, allocations: 34.27 kB / 0.5874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1531, allocations: 4.375 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1534, allocations: 106 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1534, allocations: 4 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1534, allocations: 4 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1534, allocations: 7.922 kB / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1536, allocations: 87.84 kB / 0.5876 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.1543, allocations: 384.4 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1548, allocations: 130.6 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1549, allocations: 40.84 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1549, allocations: 3.984 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.155, allocations: 34.5 kB / 0.5881 GB, free: 376 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.155, allocations: 4 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004252/0.1554, allocations: 137.9 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1555, allocations: 55.34 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1556, allocations: 135.7 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1556, allocations: 25.7 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.1557, allocations: 104 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1558, allocations: 23.8 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.1558, allocations: 29.7 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.156, allocations: 322.8 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1561, allocations: 27.98 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1562, allocations: 45.69 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1564, allocations: 81.61 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1564, allocations: 0 / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002716/0.1567, allocations: 109.6 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1567, allocations: 7.938 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1567, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1567, allocations: 11.88 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1568, allocations: 15.98 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1569, allocations: 4.031 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.157, allocations: 15.92 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.157, allocations: 0 / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001059/0.1571, allocations: 117.8 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1571, allocations: 7.906 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.1572, allocations: 12.72 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1572, allocations: 3.938 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1572, allocations: 0 / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1572, allocations: 4 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1574, allocations: 209.5 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1575, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1576, allocations: 19.92 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1576, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1576, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.1576, allocations: 3.938 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1576, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.158, allocations: 203.4 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.158, allocations: 85.02 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.158, allocations: 4 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1582, allocations: 19.92 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.1583, allocations: 7.984 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1583, allocations: 0 / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.1584, allocations: 105.6 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1584, allocations: 3.938 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002428/0.1586, allocations: 24 kB / 0.59 GB, free: 14.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0005589/0.1592, allocations: 0.7357 MB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1594, allocations: 76.36 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1594, allocations: 0 / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1596, allocations: 39.97 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1599, allocations: 31.17 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1616, allocations: 1.576 MB / 0.5924 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1618, allocations: 0.6924 MB / 0.5931 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.1619, allocations: 16.66 kB / 0.5931 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.1619, allocations: 19.44 kB / 0.5931 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1619, allocations: 0 / 0.5931 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.207/1.369, allocations: 2.546 MB / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.369, allocations: 211 kB / 0.5958 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.726, allocations: 0 / 0.5958 GB, free: 8.297 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)