Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.008405/0.008405, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001874/0.001875, allocations: 196.2 kB / 16.68 MB, free: 5.957 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9152/0.9152, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 64.03 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1665, allocations: 80.92 MB / 0.6641 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002773/0.1694, allocations: 1.284 MB / 0.6654 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5683/0.7377, allocations: 147.6 MB / 0.8096 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.7378, allocations: 0 / 0.8096 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.7379, allocations: 3.938 kB / 0.8096 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.738, allocations: 13.14 kB / 0.8096 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.7385, allocations: 113.7 kB / 0.8097 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.7386, allocations: 23.03 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.7386, allocations: 3.906 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.7387, allocations: 6.625 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.7387, allocations: 5.344 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.7388, allocations: 6.688 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.7392, allocations: 179.9 kB / 0.8099 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.7392, allocations: 0 / 0.8099 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.7392, allocations: 5.531 kB / 0.8099 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.7395, allocations: 117.2 kB / 0.81 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.7395, allocations: 0 / 0.81 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7395, allocations: 0 / 0.81 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7395, allocations: 0 / 0.81 GB, free: 11.15 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003563/0.7399, allocations: 350.9 kB / 0.8104 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7399, allocations: 11.61 kB / 0.8104 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.74, allocations: 30.75 kB / 0.8104 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005323/0.7405, allocations: 43.19 kB / 0.8105 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.7406, allocations: 168.2 kB / 0.8106 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7406, allocations: 3.938 kB / 0.8106 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.7407, allocations: 2.688 kB / 0.8106 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.7408, allocations: 47.95 kB / 0.8107 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.7409, allocations: 4 kB / 0.8107 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7409, allocations: 2.469 kB / 0.8107 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7409, allocations: 2.156 kB / 0.8107 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.741, allocations: 18.16 kB / 0.8107 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.7414, allocations: 252.6 kB / 0.8109 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.7415, allocations: 26.34 kB / 0.811 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.7415, allocations: 10.67 kB / 0.811 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.7415, allocations: 0.9375 kB / 0.811 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7416, allocations: 37.31 kB / 0.811 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.7416, allocations: 0 / 0.811 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.7418, allocations: 41.39 kB / 0.811 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.7418, allocations: 51.41 kB / 0.8111 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.742, allocations: 115.9 kB / 0.8112 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.742, allocations: 25.7 kB / 0.8112 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.7421, allocations: 89.77 kB / 0.8113 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.7421, allocations: 6.469 kB / 0.8113 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.7421, allocations: 20.7 kB / 0.8113 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7423, allocations: 318.5 kB / 0.8116 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.7424, allocations: 14.27 kB / 0.8117 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.7424, allocations: 14.47 kB / 0.8117 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/0.7425, allocations: 23.38 kB / 0.8117 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7425, allocations: 0 / 0.8117 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001796/0.7427, allocations: 56.28 kB / 0.8117 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7427, allocations: 7.75 kB / 0.8118 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.7427, allocations: 6.734 kB / 0.8118 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7428, allocations: 0 / 0.8118 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7429, allocations: 11.61 kB / 0.8118 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7429, allocations: 0 / 0.8118 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.743, allocations: 17.06 kB / 0.8118 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.7431, allocations: 0 / 0.8118 GB, free: 9.438 MB / 0.5919 GB 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 (3): * Single equations (assignments): 3 * 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 8.776e-05/0.7431, allocations: 117.2 kB / 0.8119 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.7432, allocations: 9.125 kB / 0.8119 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.7432, allocations: 4.094 kB / 0.8119 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7432, allocations: 1.156 kB / 0.8119 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7432, allocations: 0 / 0.8119 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7432, allocations: 3.938 kB / 0.8119 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.7434, allocations: 153.7 kB / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7434, allocations: 0 / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.7434, allocations: 4.688 kB / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7434, allocations: 2.203 kB / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.7435, allocations: 0 / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7435, allocations: 0 / 0.8121 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7435, allocations: 8.156 kB / 0.8121 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.7436, allocations: 138.2 kB / 0.8122 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.7436, allocations: 82.08 kB / 0.8123 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7437, allocations: 2.484 kB / 0.8123 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.7438, allocations: 2.906 kB / 0.8123 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.7438, allocations: 4.266 kB / 0.8123 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.7438, allocations: 5.531 kB / 0.8123 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.069e-05/0.7439, allocations: 99.05 kB / 0.8124 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7439, allocations: 0 / 0.8124 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002304/0.7441, allocations: 11.44 kB / 0.8124 GB, free: 8.789 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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.000469/0.7446, allocations: 0.6818 MB / 0.8131 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.7448, allocations: 20.27 kB / 0.8131 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7448, allocations: 0 / 0.8131 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.7448, allocations: 10.48 kB / 0.8131 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.7453, allocations: 8.375 kB / 0.8131 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.7459, allocations: 156.1 kB / 0.8133 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7462, allocations: 0.6744 MB / 0.8139 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.7463, allocations: 8.438 kB / 0.8139 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.7463, allocations: 12.56 kB / 0.8139 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7463, allocations: 3.938 kB / 0.8139 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.7669, allocations: 1.604 MB / 0.8155 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.226, allocations: 13.95 kB / 0.8155 GB, free: 6.781 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)