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.0008171/0.0008172, allocations: 98.27 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.005804/0.005805, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7179/0.7179, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 10.16 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4955, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002155/0.4977, allocations: 1.59 MB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1728/0.6705, allocations: 151.5 MB / 0.7332 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.6707, allocations: 4 kB / 0.7332 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.6709, allocations: 19.84 kB / 0.7332 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.6711, allocations: 59.56 kB / 0.7333 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.6718, allocations: 227.3 kB / 0.7335 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.672, allocations: 251.2 kB / 0.7338 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.6722, allocations: 60.53 kB / 0.7338 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.674, allocations: 223.4 kB / 0.734 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.6741, allocations: 71.69 kB / 0.7341 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.6741, allocations: 8 kB / 0.7341 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.6745, allocations: 171.7 kB / 0.7343 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.6745, allocations: 35.83 kB / 0.7343 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.6746, allocations: 97.3 kB / 0.7344 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.675, allocations: 263.1 kB / 0.7347 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.675, allocations: 0 / 0.7347 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.675, allocations: 4 kB / 0.7347 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.675, allocations: 4 kB / 0.7347 GB, free: 5.324 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008276/0.6758, allocations: 495 kB / 0.7351 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6759, allocations: 8.031 kB / 0.7351 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.6759, allocations: 54.55 kB / 0.7352 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.6768, allocations: 79.73 kB / 0.7353 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.677, allocations: 225.3 kB / 0.7355 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.6771, allocations: 41.97 kB / 0.7355 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.6771, allocations: 16 kB / 0.7355 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.6777, allocations: 267.2 kB / 0.7358 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6777, allocations: 4 kB / 0.7358 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.6777, allocations: 8 kB / 0.7358 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6777, allocations: 4 kB / 0.7358 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.6782, allocations: 183.7 kB / 0.736 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.6797, allocations: 1.188 MB / 0.7371 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.6805, allocations: 206.7 kB / 0.7373 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.6807, allocations: 80.81 kB / 0.7374 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.6807, allocations: 3.938 kB / 0.7374 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.6807, allocations: 30.56 kB / 0.7374 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.6808, allocations: 4 kB / 0.7375 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002804/0.6836, allocations: 0.6492 MB / 0.7381 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.6836, allocations: 51.41 kB / 0.7381 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6838, allocations: 198.4 kB / 0.7383 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.6839, allocations: 25.7 kB / 0.7383 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.684, allocations: 139.5 kB / 0.7385 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.684, allocations: 47.45 kB / 0.7385 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.6841, allocations: 21.7 kB / 0.7385 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6842, allocations: 330.8 kB / 0.7389 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.6845, allocations: 71.94 kB / 0.7389 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.6847, allocations: 139.6 kB / 0.7391 GB, free: 468 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.6852, allocations: 213.7 kB / 0.7393 GB, free: 232 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6852, allocations: 0 / 0.7393 GB, free: 232 kB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001496/0.6867, allocations: 390.6 kB / 0.7396 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6868, allocations: 8 kB / 0.7396 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6868, allocations: 3.938 kB / 0.7397 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.6879, allocations: 165.8 kB / 0.7398 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.6881, allocations: 39.97 kB / 0.7398 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.692, allocations: 3.032 MB / 0.7428 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.6924, allocations: 39.75 kB / 0.7428 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.6924, allocations: 8 kB / 0.7429 GB, free: 12.25 MB / 0.5762 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.0001368/0.6926, allocations: 133.8 kB / 0.743 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.6926, allocations: 11.91 kB / 0.743 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.6941, allocations: 388.2 kB / 0.7434 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6941, allocations: 192 / 0.7434 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.6941, allocations: 0 / 0.7434 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6941, allocations: 15.92 kB / 0.7434 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.6944, allocations: 265.5 kB / 0.7436 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6944, allocations: 0 / 0.7436 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.6946, allocations: 23.98 kB / 0.7437 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009975/0.6956, allocations: 173.5 kB / 0.7438 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.6956, allocations: 0 / 0.7438 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.6992, allocations: 3.084 MB / 0.7468 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6992, allocations: 0 / 0.7468 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.7007, allocations: 447.1 kB / 0.7473 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.7008, allocations: 116.9 kB / 0.7474 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.7008, allocations: 3.938 kB / 0.7474 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.7011, allocations: 19.98 kB / 0.7474 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.7012, allocations: 15.97 kB / 0.7474 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.7013, allocations: 8 kB / 0.7474 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001662/0.7014, allocations: 147.2 kB / 0.7476 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7014, allocations: 0 / 0.7476 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004254/0.7019, allocations: 79.83 kB / 0.7476 GB, free: 6.969 MB / 0.5762 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.001649/0.7035, allocations: 0.9847 MB / 0.7486 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.7046, allocations: 455.4 kB / 0.749 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7046, allocations: 0 / 0.749 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.7054, allocations: 357.3 kB / 0.7494 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.7059, allocations: 55.89 kB / 0.7494 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/0.7111, allocations: 2.597 MB / 0.752 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.7116, allocations: 0.7285 MB / 0.7527 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.7118, allocations: 33.98 kB / 0.7527 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7119, allocations: 59.41 kB / 0.7528 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.7119, allocations: 3.938 kB / 0.7528 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.577/1.289, allocations: 6.635 MB / 0.7592 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.289, allocations: 233.2 kB / 0.7595 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/3.373, allocations: 0 / 0.7595 GB, free: 10.86 MB / 0.5919 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)