Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.005384/0.005384, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001269/0.001269, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8061/0.8061, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4895, allocations: 80.21 MB / 0.6592 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003263/0.4929, allocations: 1.873 MB / 0.661 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1931/0.686, allocations: 155.4 MB / 0.8128 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.6863, allocations: 3.938 kB / 0.8128 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.6866, allocations: 23.73 kB / 0.8128 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.6871, allocations: 75.41 kB / 0.8129 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.6881, allocations: 259.1 kB / 0.8131 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.6886, allocations: 263.2 kB / 0.8134 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.6889, allocations: 64.53 kB / 0.8134 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.6904, allocations: 249.5 kB / 0.8137 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.6906, allocations: 87.61 kB / 0.8138 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.6907, allocations: 20 kB / 0.8138 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.6911, allocations: 183.7 kB / 0.814 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.6912, allocations: 47.88 kB / 0.814 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.6913, allocations: 83.59 kB / 0.8141 GB, free: 7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.6919, allocations: 275.1 kB / 0.8143 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.692, allocations: 0 / 0.8143 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.692, allocations: 0 / 0.8143 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.692, allocations: 0 / 0.8143 GB, free: 6.73 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001138/0.6931, allocations: 0.5184 MB / 0.8148 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.6932, allocations: 8.031 kB / 0.8149 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.6933, allocations: 54.55 kB / 0.8149 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.6941, allocations: 79.73 kB / 0.815 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6945, allocations: 218.6 kB / 0.8152 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.6946, allocations: 45.97 kB / 0.8152 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.6947, allocations: 19.98 kB / 0.8153 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.6952, allocations: 259.2 kB / 0.8155 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6952, allocations: 4 kB / 0.8155 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.6953, allocations: 11.98 kB / 0.8155 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.6953, allocations: 7.938 kB / 0.8155 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.6958, allocations: 167.8 kB / 0.8157 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.6977, allocations: 1.177 MB / 0.8168 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.6986, allocations: 214.6 kB / 0.817 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.6988, allocations: 76.38 kB / 0.8171 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.6989, allocations: 0 / 0.8171 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.6989, allocations: 38.55 kB / 0.8171 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.6989, allocations: 0 / 0.8171 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.00277/0.7017, allocations: 0.6219 MB / 0.8178 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.7017, allocations: 55.41 kB / 0.8178 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.702, allocations: 194.3 kB / 0.818 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.702, allocations: 33.7 kB / 0.818 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.7022, allocations: 139.5 kB / 0.8182 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.7022, allocations: 43.38 kB / 0.8182 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.7023, allocations: 45.69 kB / 0.8182 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7024, allocations: 334.8 kB / 0.8186 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.7027, allocations: 71.94 kB / 0.8186 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.7029, allocations: 128.9 kB / 0.8188 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.7034, allocations: 202.7 kB / 0.8189 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7034, allocations: 0 / 0.8189 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00147/0.7049, allocations: 372.8 kB / 0.8193 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7049, allocations: 8 kB / 0.8193 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7049, allocations: 0 / 0.8193 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.706, allocations: 157.8 kB / 0.8195 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.7062, allocations: 43.89 kB / 0.8195 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.7108, allocations: 3.25 MB / 0.8227 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.7111, allocations: 35.75 kB / 0.8227 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.7112, allocations: 12 kB / 0.8227 GB, free: 13.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.7114, allocations: 129.8 kB / 0.8228 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.7114, allocations: 19.8 kB / 0.8229 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.7128, allocations: 368.3 kB / 0.8232 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7128, allocations: 3.938 kB / 0.8232 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7128, allocations: 0 / 0.8232 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7128, allocations: 4 kB / 0.8232 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.7132, allocations: 273.4 kB / 0.8235 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7132, allocations: 3.938 kB / 0.8235 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.7134, allocations: 19.98 kB / 0.8235 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/0.7142, allocations: 145.6 kB / 0.8236 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7142, allocations: 0 / 0.8236 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.7183, allocations: 3.3 MB / 0.8269 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7183, allocations: 3.938 kB / 0.8269 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.7196, allocations: 434.9 kB / 0.8273 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.7198, allocations: 108.9 kB / 0.8274 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.7198, allocations: 7.938 kB / 0.8274 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.7201, allocations: 11.98 kB / 0.8274 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.7202, allocations: 20.16 kB / 0.8274 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7202, allocations: 8 kB / 0.8274 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002078/0.7205, allocations: 148.2 kB / 0.8276 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7205, allocations: 0 / 0.8276 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004392/0.7209, allocations: 67.94 kB / 0.8276 GB, free: 8.016 MB / 0.6544 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.7227, allocations: 0.9822 MB / 0.8286 GB, free: 7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7238, allocations: 449.2 kB / 0.829 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7238, allocations: 0 / 0.829 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.7246, allocations: 349.5 kB / 0.8294 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.725, allocations: 67.81 kB / 0.8294 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.7303, allocations: 2.509 MB / 0.8319 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.7307, allocations: 0.7284 MB / 0.8326 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.7309, allocations: 37.94 kB / 0.8326 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.731, allocations: 59.41 kB / 0.8327 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.731, allocations: 0 / 0.8327 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.7654, allocations: 7.437 MB / 0.8399 GB, free: 11.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.44, allocations: 11.88 kB / 0.84 GB, free: 11.43 MB / 0.67 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)