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.005067/0.005067, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001572/0.001572, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.217/1.217, 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.8527/0.8527, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 71.06 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1705, allocations: 81.03 MB / 0.6649 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002409/0.1729, allocations: 1.276 MB / 0.6661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.514/0.6869, allocations: 147.6 MB / 0.8103 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.687, allocations: 0 / 0.8103 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.687, allocations: 4.688 kB / 0.8103 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.6871, allocations: 8.406 kB / 0.8103 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.6875, allocations: 119.8 kB / 0.8104 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.6875, allocations: 13.84 kB / 0.8104 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.6876, allocations: 4.781 kB / 0.8104 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.6876, allocations: 10.47 kB / 0.8104 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.6876, allocations: 8.531 kB / 0.8105 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.6877, allocations: 1.188 kB / 0.8105 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.688, allocations: 178 kB / 0.8106 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.6881, allocations: 2.891 kB / 0.8106 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.6881, allocations: 12.59 kB / 0.8106 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.6883, allocations: 103.3 kB / 0.8107 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.6883, allocations: 0 / 0.8107 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6883, allocations: 0 / 0.8107 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6883, allocations: 0 / 0.8107 GB, free: 11.13 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.0003788/0.6887, allocations: 362.2 kB / 0.8111 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6887, allocations: 11.58 kB / 0.8111 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.6888, allocations: 34.38 kB / 0.8111 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/0.6893, allocations: 34.95 kB / 0.8112 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6895, allocations: 164.1 kB / 0.8113 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.6895, allocations: 6.469 kB / 0.8113 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.6895, allocations: 5.625 kB / 0.8113 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6897, allocations: 49.94 kB / 0.8114 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.6897, allocations: 2.625 kB / 0.8114 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.6897, allocations: 0 / 0.8114 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6897, allocations: 0 / 0.8114 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.6898, allocations: 15.09 kB / 0.8114 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.6902, allocations: 260.5 kB / 0.8116 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.6903, allocations: 26.98 kB / 0.8117 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.6903, allocations: 10.52 kB / 0.8117 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.6903, allocations: 1.562 kB / 0.8117 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.6903, allocations: 30.56 kB / 0.8117 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6904, allocations: 1.625 kB / 0.8117 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.6905, allocations: 52 kB / 0.8118 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6905, allocations: 51.41 kB / 0.8118 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.6907, allocations: 107.2 kB / 0.8119 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.6907, allocations: 27.48 kB / 0.8119 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.6908, allocations: 82.62 kB / 0.812 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.6908, allocations: 12.98 kB / 0.812 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.6908, allocations: 17.75 kB / 0.812 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.691, allocations: 320.2 kB / 0.8123 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.691, allocations: 13.5 kB / 0.8124 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.6911, allocations: 17.05 kB / 0.8124 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.6912, allocations: 22.92 kB / 0.8124 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6912, allocations: 3.938 kB / 0.8124 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000192/0.6914, allocations: 62.95 kB / 0.8125 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6914, allocations: 4.938 kB / 0.8125 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6914, allocations: 1.125 kB / 0.8125 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6915, allocations: 0 / 0.8125 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.6916, allocations: 13.78 kB / 0.8125 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6916, allocations: 1.875 kB / 0.8125 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.6917, allocations: 14.91 kB / 0.8125 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.6918, allocations: 4.344 kB / 0.8125 GB, free: 9.402 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 7.389e-05/0.6918, allocations: 111.9 kB / 0.8126 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.6919, allocations: 2.531 kB / 0.8126 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.6919, allocations: 3.125 kB / 0.8126 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6919, allocations: 2.281 kB / 0.8126 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.6919, allocations: 0 / 0.8126 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6919, allocations: 3.938 kB / 0.8126 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.6921, allocations: 154.5 kB / 0.8128 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6921, allocations: 2.5 kB / 0.8128 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.6921, allocations: 2.344 kB / 0.8128 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6921, allocations: 4 kB / 0.8128 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.6921, allocations: 0 / 0.8128 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6921, allocations: 1.688 kB / 0.8128 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6921, allocations: 0 / 0.8128 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.6923, allocations: 142.8 kB / 0.8129 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.6923, allocations: 84.44 kB / 0.813 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.6924, allocations: 0 / 0.813 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.6925, allocations: 9.812 kB / 0.813 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.6925, allocations: 0 / 0.813 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.6925, allocations: 3.938 kB / 0.813 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.476e-05/0.6926, allocations: 91.5 kB / 0.8131 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6926, allocations: 0 / 0.8131 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002522/0.6928, allocations: 16.62 kB / 0.8131 GB, free: 8.762 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.0004854/0.6933, allocations: 0.6812 MB / 0.8138 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.6935, allocations: 22.75 kB / 0.8138 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6935, allocations: 0 / 0.8138 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.6935, allocations: 5.312 kB / 0.8138 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.6938, allocations: 26.67 kB / 0.8138 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.6942, allocations: 149.7 kB / 0.814 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.6945, allocations: 0.6754 MB / 0.8146 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.629e-05/0.6946, allocations: 7 kB / 0.8146 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.6946, allocations: 11.12 kB / 0.8146 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.6947, allocations: 3.938 kB / 0.8147 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.7188, allocations: 1.597 MB / 0.8162 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.726, allocations: 9.953 kB / 0.8162 GB, free: 6.684 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)