Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_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.0008511/0.000851, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008549/0.0008551, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 12 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 82.3 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00211/0.211, allocations: 1.554 MB / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5554/0.7664, allocations: 141.2 MB / 0.7269 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.7666, allocations: 2.094 kB / 0.7269 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.7668, allocations: 18.53 kB / 0.7269 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.7671, allocations: 66.27 kB / 0.727 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.7679, allocations: 216 kB / 0.7272 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.7683, allocations: 224.6 kB / 0.7274 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.7685, allocations: 62.23 kB / 0.7275 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.769, allocations: 180.8 kB / 0.7276 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.7691, allocations: 70.27 kB / 0.7277 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.7691, allocations: 5.5 kB / 0.7277 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.7695, allocations: 176.5 kB / 0.7279 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.7696, allocations: 32.3 kB / 0.7279 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.7697, allocations: 52.27 kB / 0.7279 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.77, allocations: 187.3 kB / 0.7281 GB, free: 5.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.77, allocations: 1.281 kB / 0.7281 GB, free: 5.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.77, allocations: 3.938 kB / 0.7281 GB, free: 5.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.77, allocations: 0 / 0.7281 GB, free: 5.418 MB / 0.545 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.0008723/0.7709, allocations: 495.4 kB / 0.7286 GB, free: 4.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.771, allocations: 10.28 kB / 0.7286 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.317e-05/0.771, allocations: 48.39 kB / 0.7287 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008162/0.7718, allocations: 87.39 kB / 0.7287 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.7722, allocations: 220.6 kB / 0.7289 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/0.7723, allocations: 44.02 kB / 0.729 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.7724, allocations: 18.64 kB / 0.729 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.773, allocations: 267.6 kB / 0.7293 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.773, allocations: 2.062 kB / 0.7293 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.7731, allocations: 6.281 kB / 0.7293 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.7731, allocations: 4.062 kB / 0.7293 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.7736, allocations: 183.5 kB / 0.7295 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.7755, allocations: 1.184 MB / 0.7306 GB, free: 3.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.7762, allocations: 207.2 kB / 0.7308 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.7765, allocations: 74.64 kB / 0.7309 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.7765, allocations: 1.406 kB / 0.7309 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.7766, allocations: 40.69 kB / 0.7309 GB, free: 3.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.7766, allocations: 4.938 kB / 0.7309 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.00363/0.7803, allocations: 0.6479 MB / 0.7316 GB, free: 2.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.7803, allocations: 58.5 kB / 0.7316 GB, free: 2.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.7808, allocations: 191.9 kB / 0.7318 GB, free: 2.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.7809, allocations: 30.83 kB / 0.7318 GB, free: 2.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.7811, allocations: 137.9 kB / 0.732 GB, free: 2.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.7811, allocations: 37.48 kB / 0.732 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.7812, allocations: 5.125 kB / 0.732 GB, free: 2.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002355/0.7814, allocations: 323.3 kB / 0.7323 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.7818, allocations: 78.23 kB / 0.7324 GB, free: 2.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.7822, allocations: 143.6 kB / 0.7325 GB, free: 2.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.7827, allocations: 88.73 kB / 0.7326 GB, free: 2.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.7827, allocations: 4.891 kB / 0.7326 GB, free: 2.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002136/0.7848, allocations: 377.7 kB / 0.733 GB, free: 1.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.7849, allocations: 6.828 kB / 0.733 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.7849, allocations: 2.281 kB / 0.733 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.7863, allocations: 167.9 kB / 0.7331 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.7867, allocations: 46.31 kB / 0.7332 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.7925, allocations: 3.033 MB / 0.7361 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.7931, allocations: 37.62 kB / 0.7362 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.7931, allocations: 15.27 kB / 0.7362 GB, free: 15.09 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.7934, allocations: 131.4 kB / 0.7363 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.7935, allocations: 15.12 kB / 0.7363 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.7953, allocations: 383.8 kB / 0.7367 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7953, allocations: 1.312 kB / 0.7367 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7953, allocations: 1.062 kB / 0.7367 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.7953, allocations: 1.641 kB / 0.7367 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.7959, allocations: 280.8 kB / 0.737 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7959, allocations: 1.188 kB / 0.737 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.7961, allocations: 23.45 kB / 0.737 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.7974, allocations: 168 kB / 0.7371 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.7974, allocations: 0 / 0.7371 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/0.8031, allocations: 3.07 MB / 0.7401 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.8031, allocations: 3.953 kB / 0.7402 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8054, allocations: 446.6 kB / 0.7406 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.8056, allocations: 108.3 kB / 0.7407 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/0.8057, allocations: 5.375 kB / 0.7407 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.8063, allocations: 23.39 kB / 0.7407 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.8065, allocations: 14.16 kB / 0.7407 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.8065, allocations: 11.03 kB / 0.7407 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000315/0.8068, allocations: 145.2 kB / 0.7409 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8069, allocations: 5.312 kB / 0.7409 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008719/0.8078, allocations: 77.5 kB / 0.7409 GB, free: 11.2 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/0.8105, allocations: 0.9886 MB / 0.7419 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.8126, allocations: 456.3 kB / 0.7424 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8126, allocations: 1.125 kB / 0.7424 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8138, allocations: 353.2 kB / 0.7427 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.8147, allocations: 58.03 kB / 0.7427 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.8202, allocations: 1.322 MB / 0.744 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.8208, allocations: 0.7301 MB / 0.7447 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004586/0.8212, allocations: 34.86 kB / 0.7448 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.8214, allocations: 56.78 kB / 0.7448 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.8215, allocations: 3.938 kB / 0.7448 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.8579, allocations: 6.654 MB / 0.7513 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.8583, allocations: 226.2 kB / 0.7516 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.904, allocations: 0 / 0.7516 GB, free: 3.988 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: