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.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001183/0.001183, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8644/0.8644, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.66 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002685/0.1385, allocations: 1.72 MB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.1391, allocations: 402.8 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.1392, allocations: 4 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.1393, allocations: 11.86 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.1393, allocations: 15.86 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1396, allocations: 114.7 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1397, allocations: 99.64 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.1398, allocations: 36.27 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.1399, allocations: 39.83 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1399, allocations: 47.78 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.14, allocations: 7.938 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1401, allocations: 51.95 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.1401, allocations: 19.92 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.1401, allocations: 43.78 kB / 0.5863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1403, allocations: 127.6 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1403, allocations: 4 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.41e-07/0.1403, allocations: 0 / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.1403, allocations: 0 / 0.5865 GB, free: 2.168 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.000448/0.1408, allocations: 415.1 kB / 0.5869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1408, allocations: 16.02 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.1409, allocations: 34.75 kB / 0.5869 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.1411, allocations: 32.81 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1412, allocations: 196.2 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.1413, allocations: 30.27 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1413, allocations: 12.38 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.1415, allocations: 105.9 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.1415, allocations: 0 / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1416, allocations: 4 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1416, allocations: 0 / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1418, allocations: 83.84 kB / 0.5874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.1424, allocations: 392.4 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.1428, allocations: 130.6 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1429, allocations: 36.84 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.143, allocations: 160 / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.143, allocations: 34.5 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.143, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000352/0.1434, allocations: 141.7 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1434, allocations: 55.34 kB / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.1435, allocations: 136.3 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1435, allocations: 29.7 kB / 0.5883 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1435, allocations: 100 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1436, allocations: 23.66 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1436, allocations: 33.58 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.1437, allocations: 318.8 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-05/0.1438, allocations: 35.97 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.1439, allocations: 53.62 kB / 0.5888 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1441, allocations: 69.69 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1441, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002342/0.1444, allocations: 121.5 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1444, allocations: 4 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.1444, allocations: 0 / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.1444, allocations: 7.938 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1445, allocations: 15.98 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.1445, allocations: 0 / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.1446, allocations: 15.94 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1446, allocations: 8.016 kB / 0.589 GB, free: 15.28 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 6.555e-05/0.1447, allocations: 113.8 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1447, allocations: 7.906 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.1448, allocations: 20.66 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1448, allocations: 3.938 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1448, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1448, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1449, allocations: 201.5 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.145, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1451, allocations: 19.98 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1451, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.1451, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1451, allocations: 3.938 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1451, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1453, allocations: 203.9 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1454, allocations: 93 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1454, allocations: 4 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1456, allocations: 15.92 kB / 0.5897 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1456, allocations: 7.938 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1456, allocations: 3.984 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.1457, allocations: 105.3 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.232e-06/0.1457, allocations: 0 / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.1459, allocations: 23.94 kB / 0.5898 GB, free: 14.38 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.0004634/0.1464, allocations: 0.7319 MB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1466, allocations: 71.89 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1466, allocations: 0 / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.1467, allocations: 48.02 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.147, allocations: 31.86 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1485, allocations: 1.565 MB / 0.5922 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1487, allocations: 0.6965 MB / 0.5929 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.1487, allocations: 12.66 kB / 0.5929 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.1488, allocations: 23.44 kB / 0.5929 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1488, allocations: 4 kB / 0.5929 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.999/3.147, allocations: 2.468 MB / 0.5953 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/3.148, allocations: 210.9 kB / 0.5955 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/4.966, allocations: 0 / 0.5955 GB, free: 8.477 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)