Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_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.00527/0.00527, allocations: 99.27 kB / 15.73 MB, free: 6.043 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.001261/0.001261, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8118/0.8118, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 70.83 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1747, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002962/0.1777, allocations: 1.66 MB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000768/0.1785, allocations: 406.7 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.1786, allocations: 0 / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.1787, allocations: 11.86 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.1787, allocations: 27.77 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.1792, allocations: 118.5 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1794, allocations: 111.6 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1795, allocations: 40.23 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.1796, allocations: 39.86 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.1797, allocations: 55.69 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1797, allocations: 12 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1798, allocations: 59.95 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.1799, allocations: 19.92 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.1799, allocations: 39.8 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1802, allocations: 139.5 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1802, allocations: 0 / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1802, allocations: 0 / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.1802, allocations: 0 / 0.6618 GB, free: 11.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006267/0.1809, allocations: 419 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1809, allocations: 8.031 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.181, allocations: 46.73 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1812, allocations: 28.86 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1814, allocations: 196.1 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.1815, allocations: 38.27 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1816, allocations: 4.375 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.1818, allocations: 106 kB / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1819, allocations: 0 / 0.6626 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1819, allocations: 8 kB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1819, allocations: 4 kB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1822, allocations: 83.8 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.1829, allocations: 384.6 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.1835, allocations: 130.6 kB / 0.6632 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1836, allocations: 36.84 kB / 0.6633 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1836, allocations: 4 kB / 0.6633 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1837, allocations: 42.55 kB / 0.6633 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1837, allocations: 0 / 0.6633 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000444/0.1841, allocations: 133.7 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1842, allocations: 59.34 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1843, allocations: 135.9 kB / 0.6636 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1844, allocations: 29.7 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.1844, allocations: 104 kB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1845, allocations: 27.72 kB / 0.6638 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1845, allocations: 21.72 kB / 0.6638 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1847, allocations: 318.8 kB / 0.6641 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1848, allocations: 27.98 kB / 0.6641 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1849, allocations: 49.69 kB / 0.6642 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1852, allocations: 73.69 kB / 0.6642 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1852, allocations: 7.922 kB / 0.6643 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002836/0.1855, allocations: 105.6 kB / 0.6644 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1855, allocations: 8.031 kB / 0.6644 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1855, allocations: 4 kB / 0.6644 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1855, allocations: 3.938 kB / 0.6644 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1856, allocations: 19.92 kB / 0.6644 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1857, allocations: 4 kB / 0.6644 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.1857, allocations: 11.94 kB / 0.6644 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1858, allocations: 0 / 0.6644 GB, free: 8.41 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 9.064e-05/0.1858, allocations: 113.8 kB / 0.6645 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1859, allocations: 7.953 kB / 0.6645 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.1859, allocations: 20.72 kB / 0.6645 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1859, allocations: 3.938 kB / 0.6645 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.186, allocations: 0 / 0.6645 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.186, allocations: 0 / 0.6645 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1862, allocations: 205.5 kB / 0.6647 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1862, allocations: 0 / 0.6647 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1863, allocations: 15.98 kB / 0.6648 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1863, allocations: 0 / 0.6648 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1864, allocations: 8 kB / 0.6648 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1864, allocations: 3.938 kB / 0.6648 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1864, allocations: 4 kB / 0.6648 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1867, allocations: 203.9 kB / 0.665 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1868, allocations: 85 kB / 0.665 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1868, allocations: 11.98 kB / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.187, allocations: 11.92 kB / 0.6651 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.187, allocations: 12 kB / 0.6651 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1871, allocations: 7.984 kB / 0.6651 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.1872, allocations: 105.7 kB / 0.6652 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1872, allocations: 0 / 0.6652 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.1874, allocations: 23.95 kB / 0.6652 GB, free: 7.484 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.0006723/0.1881, allocations: 0.7437 MB / 0.6659 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1884, allocations: 67.95 kB / 0.666 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1884, allocations: 4 kB / 0.666 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1885, allocations: 43.84 kB / 0.666 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1889, allocations: 27.98 kB / 0.6661 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1909, allocations: 1.552 MB / 0.6676 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1913, allocations: 0.6963 MB / 0.6683 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.496e-05/0.1914, allocations: 12.67 kB / 0.6683 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1914, allocations: 27.42 kB / 0.6683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.1914, allocations: 0 / 0.6683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.216, allocations: 2.711 MB / 0.671 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.299, allocations: 12.91 kB / 0.671 GB, free: 1.617 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)