Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.0007163/0.0007163, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007725/0.0007725, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003655, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4695, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001812/0.4714, allocations: 1.007 MB / 0.5841 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4725, allocations: 0.5334 MB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.4726, allocations: 0 / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.4726, allocations: 0.6562 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.4727, allocations: 5.703 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.4731, allocations: 86.41 kB / 0.5848 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.4732, allocations: 22.66 kB / 0.5848 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.4733, allocations: 1.469 kB / 0.5848 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.4733, allocations: 3.953 kB / 0.5848 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.4734, allocations: 9.297 kB / 0.5848 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.4734, allocations: 0 / 0.5848 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.4738, allocations: 149.9 kB / 0.5849 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.4738, allocations: 7.938 kB / 0.5849 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.4739, allocations: 28.5 kB / 0.585 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.4741, allocations: 62.34 kB / 0.585 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.4741, allocations: 1.156 kB / 0.585 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4741, allocations: 4 kB / 0.585 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4741, allocations: 0 / 0.585 GB, free: 2.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004339/0.4745, allocations: 344.3 kB / 0.5854 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4746, allocations: 9.156 kB / 0.5854 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.4747, allocations: 32.12 kB / 0.5854 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.475, allocations: 29.89 kB / 0.5854 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4752, allocations: 173.9 kB / 0.5856 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.4752, allocations: 0 / 0.5856 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4752, allocations: 1.594 kB / 0.5856 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.4754, allocations: 43.33 kB / 0.5856 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4754, allocations: 0 / 0.5856 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4754, allocations: 4 kB / 0.5856 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4754, allocations: 5.875 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.4755, allocations: 29.05 kB / 0.5857 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.4757, allocations: 162.6 kB / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.4758, allocations: 38.62 kB / 0.5859 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.4759, allocations: 19.05 kB / 0.5859 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4759, allocations: 5.484 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.4759, allocations: 36.16 kB / 0.5859 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4759, allocations: 0 / 0.5859 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002805/0.4762, allocations: 72.47 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.4762, allocations: 52.02 kB / 0.586 GB, free: 1.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.255e-05/0.4763, allocations: 103.8 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4763, allocations: 25.7 kB / 0.5862 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.4763, allocations: 84.77 kB / 0.5862 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.4764, allocations: 6.312 kB / 0.5862 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.4764, allocations: 0 / 0.5862 GB, free: 1.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.4764, allocations: 312.4 kB / 0.5865 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.4765, allocations: 13.47 kB / 0.5866 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.4766, allocations: 13.97 kB / 0.5866 GB, free: 1.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.4766, allocations: 13.23 kB / 0.5866 GB, free: 1.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4766, allocations: 0 / 0.5866 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.4768, allocations: 60.33 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4768, allocations: 4.938 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4768, allocations: 0.75 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4768, allocations: 5.625 kB / 0.5867 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4769, allocations: 7.875 kB / 0.5867 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.477, allocations: 0 / 0.5867 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.477, allocations: 6.844 kB / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.477, allocations: 3.203 kB / 0.5867 GB, free: 1.074 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.4771, allocations: 113.1 kB / 0.5868 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.4771, allocations: 10.33 kB / 0.5868 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.4772, allocations: 7.734 kB / 0.5868 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4772, allocations: 1.375 kB / 0.5868 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4772, allocations: 4 kB / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4772, allocations: 0.6094 kB / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.693e-05/0.4773, allocations: 158 kB / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4773, allocations: 1.906 kB / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.4774, allocations: 7.422 kB / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4774, allocations: 0 / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4774, allocations: 2.266 kB / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4774, allocations: 1.453 kB / 0.587 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4774, allocations: 7.938 kB / 0.587 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.4776, allocations: 89.28 kB / 0.5871 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.4777, allocations: 80.94 kB / 0.5871 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4777, allocations: 6.375 kB / 0.5871 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.4778, allocations: 10.41 kB / 0.5872 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.4778, allocations: 1.609 kB / 0.5872 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4779, allocations: 1.594 kB / 0.5872 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.4779, allocations: 79.36 kB / 0.5872 GB, free: 488 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4779, allocations: 0 / 0.5872 GB, free: 488 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.4781, allocations: 14.53 kB / 0.5872 GB, free: 484 kB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006354/0.4788, allocations: 0.6367 MB / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.479, allocations: 26.44 kB / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.479, allocations: 0 / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.4791, allocations: 21.28 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.4794, allocations: 8.984 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.4799, allocations: 156.9 kB / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4802, allocations: 0.6739 MB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.4803, allocations: 16.31 kB / 0.5887 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4803, allocations: 11.91 kB / 0.5888 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4803, allocations: 0 / 0.5888 GB, free: 14.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.4925, allocations: 1.345 MB / 0.5901 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.4927, allocations: 200.8 kB / 0.5903 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.163, allocations: 3.938 kB / 0.5903 GB, free: 14.62 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: