Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.00761/0.00761, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001916/0.001916, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4677, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003023/0.4708, allocations: 1.648 MB / 0.6608 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1766/0.6474, allocations: 149.7 MB / 0.807 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.6476, allocations: 4 kB / 0.807 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.6478, allocations: 23.73 kB / 0.807 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.6481, allocations: 55.64 kB / 0.807 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.6487, allocations: 171.4 kB / 0.8072 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.6489, allocations: 167.5 kB / 0.8074 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.6491, allocations: 30.23 kB / 0.8074 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.6503, allocations: 187.2 kB / 0.8076 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.6504, allocations: 63.75 kB / 0.8076 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.6504, allocations: 12 kB / 0.8076 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.6507, allocations: 155.8 kB / 0.8078 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.6508, allocations: 31.84 kB / 0.8078 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.6508, allocations: 47.78 kB / 0.8079 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.6512, allocations: 207.4 kB / 0.8081 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6512, allocations: 0 / 0.8081 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6512, allocations: 0 / 0.8081 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6512, allocations: 0 / 0.8081 GB, free: 13.18 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008655/0.6521, allocations: 459 kB / 0.8085 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6522, allocations: 12.03 kB / 0.8085 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.6522, allocations: 34.75 kB / 0.8086 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.6529, allocations: 60.53 kB / 0.8086 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.6531, allocations: 204.7 kB / 0.8088 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6531, allocations: 4 kB / 0.8088 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.6531, allocations: 8 kB / 0.8088 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.6536, allocations: 192 kB / 0.809 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6536, allocations: 3.938 kB / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.6536, allocations: 0 / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6536, allocations: 4 kB / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.6541, allocations: 151.7 kB / 0.8092 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.6552, allocations: 0.8206 MB / 0.81 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.6556, allocations: 130.5 kB / 0.8101 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.6559, allocations: 76.8 kB / 0.8102 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.6559, allocations: 0 / 0.8102 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.656, allocations: 38.56 kB / 0.8102 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.656, allocations: 0 / 0.8102 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001804/0.6578, allocations: 463.3 kB / 0.8106 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6578, allocations: 59.34 kB / 0.8107 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6579, allocations: 152.2 kB / 0.8108 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.658, allocations: 25.7 kB / 0.8109 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.658, allocations: 103.9 kB / 0.811 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.6581, allocations: 23.66 kB / 0.811 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.6582, allocations: 41.69 kB / 0.811 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6583, allocations: 314.8 kB / 0.8113 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.6585, allocations: 67.92 kB / 0.8114 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.6588, allocations: 108.2 kB / 0.8115 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.6593, allocations: 184.1 kB / 0.8117 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6593, allocations: 0 / 0.8117 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009907/0.6603, allocations: 282 kB / 0.8119 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6603, allocations: 11.94 kB / 0.8119 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6603, allocations: 0 / 0.8119 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.6609, allocations: 80.89 kB / 0.812 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.6611, allocations: 35.95 kB / 0.8121 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.6633, allocations: 1.669 MB / 0.8137 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.6635, allocations: 15.98 kB / 0.8137 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6635, allocations: 11.92 kB / 0.8137 GB, free: 6.926 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.6637, allocations: 117.8 kB / 0.8138 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.6637, allocations: 7.906 kB / 0.8138 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.6647, allocations: 326.7 kB / 0.8141 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6648, allocations: 0 / 0.8141 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6648, allocations: 4 kB / 0.8141 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6648, allocations: 0 / 0.8141 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.665, allocations: 237.6 kB / 0.8144 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.665, allocations: 0 / 0.8144 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.6652, allocations: 27.97 kB / 0.8144 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.6657, allocations: 80.7 kB / 0.8145 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.6657, allocations: 7.938 kB / 0.8145 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.6675, allocations: 1.677 MB / 0.8161 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6675, allocations: 0 / 0.8161 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.6685, allocations: 379.3 kB / 0.8165 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.6686, allocations: 85.02 kB / 0.8166 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.6686, allocations: 7.984 kB / 0.8166 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6688, allocations: 19.92 kB / 0.8166 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.6689, allocations: 11.98 kB / 0.8166 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.6689, allocations: 11.98 kB / 0.8166 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.669, allocations: 103.3 kB / 0.8167 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.669, allocations: 0 / 0.8167 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003388/0.6693, allocations: 44 kB / 0.8168 GB, free: 3.559 MB / 0.6387 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.6706, allocations: 0.9276 MB / 0.8177 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.6715, allocations: 298.7 kB / 0.8179 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6715, allocations: 0 / 0.8179 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.672, allocations: 238.5 kB / 0.8182 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.6724, allocations: 32.47 kB / 0.8182 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.6763, allocations: 2.047 MB / 0.8202 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6767, allocations: 0.7085 MB / 0.8209 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000148/0.6768, allocations: 24.86 kB / 0.8209 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.6769, allocations: 39.41 kB / 0.821 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.6769, allocations: 0 / 0.821 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.7037, allocations: 4.725 MB / 0.8256 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.92, allocations: 4.734 kB / 0.8256 GB, free: 10.55 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)