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.0009858/0.0009857, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001045/0.001045, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6627/0.6627, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 63.64 kB / 0.5013 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1367, allocations: 80.21 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002583/0.1394, allocations: 1.721 MB / 0.5814 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.14, allocations: 402.8 kB / 0.5817 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1401, allocations: 3.938 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.261e-05/0.1402, allocations: 3.938 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.1403, allocations: 19.84 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1407, allocations: 118.4 kB / 0.5819 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1408, allocations: 111.6 kB / 0.582 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1409, allocations: 40.25 kB / 0.582 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.141, allocations: 35.86 kB / 0.5821 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.1411, allocations: 39.84 kB / 0.5821 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1411, allocations: 8 kB / 0.5821 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1412, allocations: 63.94 kB / 0.5822 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.1412, allocations: 23.91 kB / 0.5822 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1413, allocations: 47.73 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1415, allocations: 127.7 kB / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1415, allocations: 0 / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1415, allocations: 0 / 0.5824 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1415, allocations: 0 / 0.5824 GB, free: 6.258 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.0004968/0.142, allocations: 427 kB / 0.5828 GB, free: 5.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.142, allocations: 12.03 kB / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.1421, allocations: 46.67 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.1423, allocations: 24.83 kB / 0.5828 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1424, allocations: 192.2 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.1425, allocations: 30.27 kB / 0.5831 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1425, allocations: 12.38 kB / 0.5831 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.1428, allocations: 113.8 kB / 0.5832 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1428, allocations: 0 / 0.5832 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1428, allocations: 7.938 kB / 0.5832 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1428, allocations: 4 kB / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.143, allocations: 75.94 kB / 0.5833 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.1436, allocations: 392.4 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1441, allocations: 126.6 kB / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1442, allocations: 36.88 kB / 0.5838 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1442, allocations: 4 kB / 0.5838 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.1443, allocations: 30.56 kB / 0.5838 GB, free: 4.574 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1443, allocations: 0 / 0.5838 GB, free: 4.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.1446, allocations: 145.6 kB / 0.584 GB, free: 4.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1447, allocations: 55.34 kB / 0.584 GB, free: 4.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.1448, allocations: 139.8 kB / 0.5841 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1448, allocations: 25.7 kB / 0.5842 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1449, allocations: 100 kB / 0.5843 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1449, allocations: 27.8 kB / 0.5843 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1449, allocations: 17.72 kB / 0.5843 GB, free: 4.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.145, allocations: 326.8 kB / 0.5846 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.1451, allocations: 35.97 kB / 0.5847 GB, free: 3.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.1452, allocations: 41.69 kB / 0.5847 GB, free: 3.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1454, allocations: 77.62 kB / 0.5848 GB, free: 3.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1454, allocations: 0 / 0.5848 GB, free: 3.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.1457, allocations: 117.5 kB / 0.5849 GB, free: 3.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1457, allocations: 4 kB / 0.5849 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1457, allocations: 4 kB / 0.5849 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1457, allocations: 3.938 kB / 0.5849 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1458, allocations: 19.98 kB / 0.5849 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1458, allocations: 3.938 kB / 0.5849 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.1459, allocations: 11.92 kB / 0.5849 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1459, allocations: 8.031 kB / 0.5849 GB, free: 3.363 MB / 494.1 MB 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 7.557e-05/0.146, allocations: 113.8 kB / 0.585 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.146, allocations: 7.906 kB / 0.585 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.1461, allocations: 16.7 kB / 0.5851 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1461, allocations: 7.938 kB / 0.5851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1461, allocations: 0 / 0.5851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1461, allocations: 0 / 0.5851 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1463, allocations: 201.5 kB / 0.5853 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1463, allocations: 0 / 0.5853 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.1464, allocations: 27.92 kB / 0.5853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1464, allocations: 3.984 kB / 0.5853 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1464, allocations: 4 kB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1464, allocations: 3.938 kB / 0.5853 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1464, allocations: 0 / 0.5853 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1467, allocations: 199.9 kB / 0.5855 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1468, allocations: 89.02 kB / 0.5856 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1468, allocations: 0 / 0.5856 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1469, allocations: 15.92 kB / 0.5856 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.147, allocations: 3.984 kB / 0.5856 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.147, allocations: 8 kB / 0.5856 GB, free: 2.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.147, allocations: 109.3 kB / 0.5857 GB, free: 2.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.147, allocations: 0 / 0.5857 GB, free: 2.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1473, allocations: 16 kB / 0.5857 GB, free: 2.461 MB / 494.1 MB 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.000477/0.1477, allocations: 0.7397 MB / 0.5864 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.148, allocations: 79.88 kB / 0.5865 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.148, allocations: 0 / 0.5865 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.1481, allocations: 40.05 kB / 0.5866 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1484, allocations: 27.91 kB / 0.5866 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.15, allocations: 1.576 MB / 0.5881 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1502, allocations: 0.6963 MB / 0.5888 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.566e-05/0.1503, allocations: 4.672 kB / 0.5888 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.1504, allocations: 31.42 kB / 0.5888 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1504, allocations: 4 kB / 0.5888 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/0.6676, allocations: 2.549 MB / 0.5913 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.6679, allocations: 202.6 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/3.794, allocations: 0 / 0.5915 GB, free: 12.52 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)