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.001013/0.001013, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00833/0.00833, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.72/0.72, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004075, allocations: 10.03 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4663, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001409/0.4677, allocations: 1.359 MB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1513/0.619, allocations: 145.8 MB / 0.7275 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.6191, allocations: 0 / 0.7275 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.6193, allocations: 15.86 kB / 0.7275 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.6195, allocations: 39.78 kB / 0.7275 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.6199, allocations: 163.5 kB / 0.7277 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.6201, allocations: 147.5 kB / 0.7278 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.6202, allocations: 30.23 kB / 0.7279 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.6219, allocations: 167.9 kB / 0.728 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.622, allocations: 51.81 kB / 0.7281 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.622, allocations: 4 kB / 0.7281 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.6223, allocations: 163.8 kB / 0.7282 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.6224, allocations: 19.84 kB / 0.7283 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.6224, allocations: 73.42 kB / 0.7283 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.6227, allocations: 187.5 kB / 0.7285 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6227, allocations: 0 / 0.7285 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6227, allocations: 0 / 0.7285 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.6227, allocations: 4 kB / 0.7285 GB, free: 11.67 MB / 0.5606 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.0007288/0.6234, allocations: 451.1 kB / 0.7289 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6235, allocations: 11.97 kB / 0.729 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.6235, allocations: 42.73 kB / 0.729 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.6241, allocations: 56.53 kB / 0.729 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.6243, allocations: 201.8 kB / 0.7292 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6243, allocations: 7.953 kB / 0.7292 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.6243, allocations: 8 kB / 0.7293 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.6248, allocations: 203.7 kB / 0.7294 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6248, allocations: 4 kB / 0.7295 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.6248, allocations: 0 / 0.7295 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.6248, allocations: 3.938 kB / 0.7295 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.6253, allocations: 171.8 kB / 0.7296 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.6264, allocations: 0.8281 MB / 0.7304 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.6268, allocations: 142.5 kB / 0.7306 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.627, allocations: 92.78 kB / 0.7307 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.627, allocations: 8.141 kB / 0.7307 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.6271, allocations: 30.56 kB / 0.7307 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.6271, allocations: 0 / 0.7307 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001837/0.6289, allocations: 495.1 kB / 0.7312 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.629, allocations: 63.34 kB / 0.7312 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6291, allocations: 143.2 kB / 0.7314 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6291, allocations: 29.7 kB / 0.7314 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.6292, allocations: 107.9 kB / 0.7315 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.6292, allocations: 19.66 kB / 0.7315 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.6292, allocations: 21.7 kB / 0.7315 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6294, allocations: 322.8 kB / 0.7318 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.6296, allocations: 79.88 kB / 0.7319 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6299, allocations: 124 kB / 0.732 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.6304, allocations: 204.1 kB / 0.7322 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6304, allocations: 0 / 0.7322 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00101/0.6314, allocations: 298.1 kB / 0.7325 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6315, allocations: 7.938 kB / 0.7325 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6315, allocations: 0 / 0.7325 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/0.632, allocations: 88.89 kB / 0.7326 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6323, allocations: 39.89 kB / 0.7326 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.6343, allocations: 1.557 MB / 0.7342 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.6345, allocations: 31.97 kB / 0.7342 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.6345, allocations: 8 kB / 0.7342 GB, free: 5.379 MB / 0.5606 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.0001045/0.6346, allocations: 125.8 kB / 0.7343 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.6347, allocations: 7.906 kB / 0.7343 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.6358, allocations: 334.9 kB / 0.7346 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6358, allocations: 4 kB / 0.7346 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6358, allocations: 3.938 kB / 0.7347 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6358, allocations: 3.984 kB / 0.7347 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.636, allocations: 233.5 kB / 0.7349 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6361, allocations: 192 / 0.7349 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6363, allocations: 35.95 kB / 0.7349 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.6368, allocations: 92.69 kB / 0.735 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6368, allocations: 4 kB / 0.735 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.6385, allocations: 1.575 MB / 0.7365 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6385, allocations: 0 / 0.7365 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6396, allocations: 404 kB / 0.7369 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.6396, allocations: 85.02 kB / 0.737 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.6397, allocations: 4 kB / 0.737 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6399, allocations: 27.97 kB / 0.737 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.6399, allocations: 11.98 kB / 0.7371 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.64, allocations: 4 kB / 0.7371 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.64, allocations: 109.5 kB / 0.7372 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.64, allocations: 0 / 0.7372 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003131/0.6404, allocations: 40 kB / 0.7372 GB, free: 2.059 MB / 0.5606 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.00133/0.6417, allocations: 0.9459 MB / 0.7381 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008593/0.6426, allocations: 326.6 kB / 0.7384 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6426, allocations: 4 kB / 0.7384 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.6431, allocations: 254.5 kB / 0.7387 GB, free: 496 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6434, allocations: 27.92 kB / 0.7387 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.6471, allocations: 2.131 MB / 0.7408 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.6474, allocations: 0.7087 MB / 0.7415 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.6475, allocations: 33.53 kB / 0.7415 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.6476, allocations: 31.42 kB / 0.7415 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6476, allocations: 0 / 0.7415 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5609/1.209, allocations: 4.194 MB / 0.7456 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/1.209, allocations: 224.2 kB / 0.7459 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/3.136, allocations: 3.938 kB / 0.7459 GB, free: 9.215 MB / 0.5762 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)