Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00112/0.00112, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.132/1.132, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 72.59 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1857, allocations: 80.92 MB / 0.584 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003199/0.1889, allocations: 1.69 MB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4801/0.669, allocations: 147.5 MB / 0.7297 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.6692, allocations: 1.156 kB / 0.7297 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.6694, allocations: 16.36 kB / 0.7297 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.6697, allocations: 39 kB / 0.7298 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.6704, allocations: 172.6 kB / 0.7299 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.6706, allocations: 150.6 kB / 0.7301 GB, free: 496 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.6708, allocations: 31.19 kB / 0.7301 GB, free: 484 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.6727, allocations: 187.1 kB / 0.7303 GB, free: 432 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.6729, allocations: 64.2 kB / 0.7303 GB, free: 404 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.6729, allocations: 9.062 kB / 0.7303 GB, free: 404 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.6732, allocations: 166.3 kB / 0.7305 GB, free: 364 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.6733, allocations: 26.42 kB / 0.7305 GB, free: 348 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.6734, allocations: 53.48 kB / 0.7306 GB, free: 316 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.6737, allocations: 193.5 kB / 0.7308 GB, free: 248 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6737, allocations: 0 / 0.7308 GB, free: 248 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6737, allocations: 1.281 kB / 0.7308 GB, free: 248 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6737, allocations: 0.8438 kB / 0.7308 GB, free: 248 kB / 0.545 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.0009095/0.6747, allocations: 454.8 kB / 0.7312 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6747, allocations: 10.19 kB / 0.7312 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.6748, allocations: 44.19 kB / 0.7313 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.6755, allocations: 54.25 kB / 0.7313 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.6757, allocations: 211.4 kB / 0.7315 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6757, allocations: 8.344 kB / 0.7315 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.6757, allocations: 9.328 kB / 0.7315 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.6762, allocations: 179.4 kB / 0.7317 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6763, allocations: 3.938 kB / 0.7317 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.6763, allocations: 5.531 kB / 0.7317 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6763, allocations: 6.438 kB / 0.7317 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.6768, allocations: 144 kB / 0.7318 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.6781, allocations: 0.8139 MB / 0.7326 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.6785, allocations: 137.9 kB / 0.7328 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.6788, allocations: 81.2 kB / 0.7328 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.6788, allocations: 1.5 kB / 0.7329 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6789, allocations: 37.12 kB / 0.7329 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.6789, allocations: 0 / 0.7329 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.00209/0.681, allocations: 457.7 kB / 0.7333 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.681, allocations: 53.36 kB / 0.7334 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.6812, allocations: 142.2 kB / 0.7335 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6812, allocations: 27.14 kB / 0.7335 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.6813, allocations: 115 kB / 0.7336 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.6814, allocations: 34.14 kB / 0.7337 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.6815, allocations: 27.92 kB / 0.7337 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6816, allocations: 320 kB / 0.734 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.6819, allocations: 69.69 kB / 0.7341 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.6822, allocations: 111.5 kB / 0.7342 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.6827, allocations: 178.3 kB / 0.7344 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6827, allocations: 3.062 kB / 0.7344 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001133/0.6839, allocations: 275.7 kB / 0.7346 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6839, allocations: 13.84 kB / 0.7346 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6839, allocations: 1.969 kB / 0.7346 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.6846, allocations: 87 kB / 0.7347 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.6848, allocations: 31.03 kB / 0.7347 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.6871, allocations: 1.656 MB / 0.7364 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.6874, allocations: 30.58 kB / 0.7364 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.6874, allocations: 9.359 kB / 0.7364 GB, free: 11.83 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.0001135/0.6875, allocations: 120.7 kB / 0.7365 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.6876, allocations: 13 kB / 0.7365 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.6887, allocations: 317 kB / 0.7368 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.6887, allocations: 2.188 kB / 0.7368 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.6888, allocations: 0 / 0.7368 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6888, allocations: 6.234 kB / 0.7368 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.6891, allocations: 235.4 kB / 0.7371 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6891, allocations: 0 / 0.7371 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.6893, allocations: 30.66 kB / 0.7371 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.6898, allocations: 78.48 kB / 0.7372 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.6898, allocations: 12.78 kB / 0.7372 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.6918, allocations: 1.673 MB / 0.7388 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6918, allocations: 0 / 0.7388 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6929, allocations: 385.4 kB / 0.7392 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.693, allocations: 88.23 kB / 0.7393 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.693, allocations: 0.7969 kB / 0.7393 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.6932, allocations: 27.2 kB / 0.7393 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.6933, allocations: 14.41 kB / 0.7393 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6933, allocations: 9.703 kB / 0.7393 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.6934, allocations: 113 kB / 0.7394 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6934, allocations: 0 / 0.7394 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003485/0.6938, allocations: 41.84 kB / 0.7395 GB, free: 9.375 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.001389/0.6952, allocations: 0.9236 MB / 0.7404 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.6961, allocations: 317.4 kB / 0.7407 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.6961, allocations: 0 / 0.7407 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.6967, allocations: 226.8 kB / 0.7409 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.697, allocations: 31.23 kB / 0.7409 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.701, allocations: 2.074 MB / 0.7429 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.7013, allocations: 0.7115 MB / 0.7436 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.7015, allocations: 22.69 kB / 0.7437 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.7016, allocations: 35.84 kB / 0.7437 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.7016, allocations: 0 / 0.7437 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.7468, allocations: 4.471 MB / 0.7481 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005604/0.7474, allocations: 240.4 kB / 0.7483 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.908, allocations: 0 / 0.7483 GB, free: 3.941 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)