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.0009746/0.0009752, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001407/0.001407, allocations: 173.3 kB / 16.27 MB, free: 6.664 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.592/1.592, 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-master/package.mo): time 1.063/1.063, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004285, allocations: 8.75 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2233, allocations: 82.31 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002126/0.2255, allocations: 1.351 MB / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.806/1.032, allocations: 145.8 MB / 0.7318 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/1.032, allocations: 5.062 kB / 0.7318 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/1.032, allocations: 17.89 kB / 0.7318 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/1.032, allocations: 40.77 kB / 0.7319 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/1.033, allocations: 156.1 kB / 0.732 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/1.033, allocations: 158.5 kB / 0.7322 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/1.033, allocations: 25.14 kB / 0.7322 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/1.036, allocations: 169.7 kB / 0.7323 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/1.036, allocations: 52.08 kB / 0.7324 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/1.036, allocations: 8.25 kB / 0.7324 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/1.037, allocations: 165.3 kB / 0.7326 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/1.037, allocations: 17.41 kB / 0.7326 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/1.037, allocations: 69.19 kB / 0.7326 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/1.037, allocations: 194.8 kB / 0.7328 GB, free: 0.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.037, allocations: 0 / 0.7328 GB, free: 0.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/1.037, allocations: 1.125 kB / 0.7328 GB, free: 0.625 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.037, allocations: 1.031 kB / 0.7328 GB, free: 0.625 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001006/1.038, allocations: 453 kB / 0.7333 GB, free: 232 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.038, allocations: 9.688 kB / 0.7333 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/1.038, allocations: 39.2 kB / 0.7333 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/1.039, allocations: 59.22 kB / 0.7334 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/1.039, allocations: 199.6 kB / 0.7335 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.04, allocations: 3.438 kB / 0.7336 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.04, allocations: 9.281 kB / 0.7336 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/1.04, allocations: 197.1 kB / 0.7337 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.04, allocations: 0 / 0.7337 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.04, allocations: 9.344 kB / 0.7338 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/1.04, allocations: 6.719 kB / 0.7338 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/1.041, allocations: 167.7 kB / 0.7339 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/1.042, allocations: 0.8301 MB / 0.7347 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/1.043, allocations: 135.6 kB / 0.7349 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/1.043, allocations: 95.02 kB / 0.735 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/1.043, allocations: 4.938 kB / 0.735 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.043, allocations: 32.44 kB / 0.735 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/1.043, allocations: 4 kB / 0.735 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002227/1.045, allocations: 492.7 kB / 0.7355 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.045, allocations: 56.88 kB / 0.7355 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/1.046, allocations: 149.4 kB / 0.7357 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/1.046, allocations: 29.7 kB / 0.7357 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/1.046, allocations: 109.6 kB / 0.7358 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/1.046, allocations: 25.39 kB / 0.7358 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/1.046, allocations: 20.62 kB / 0.7358 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.046, allocations: 321.8 kB / 0.7361 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.046, allocations: 74.08 kB / 0.7362 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/1.047, allocations: 116.6 kB / 0.7363 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/1.047, allocations: 200.7 kB / 0.7365 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.047, allocations: 1.031 kB / 0.7365 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001233/1.048, allocations: 298.5 kB / 0.7368 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.048, allocations: 10.78 kB / 0.7368 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.049, allocations: 0 / 0.7368 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/1.049, allocations: 88.97 kB / 0.7369 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/1.049, allocations: 44.92 kB / 0.7369 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.052, allocations: 1.552 MB / 0.7385 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/1.052, allocations: 25.45 kB / 0.7385 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/1.052, allocations: 10.91 kB / 0.7385 GB, free: 12.31 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.0001291/1.052, allocations: 124.5 kB / 0.7386 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/1.052, allocations: 9.281 kB / 0.7386 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/1.054, allocations: 338.3 kB / 0.7389 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.054, allocations: 1.031 kB / 0.7389 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/1.054, allocations: 0 / 0.7389 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.054, allocations: 10.28 kB / 0.739 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/1.054, allocations: 236.7 kB / 0.7392 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/1.054, allocations: 0 / 0.7392 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/1.054, allocations: 42.44 kB / 0.7392 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/1.055, allocations: 86.94 kB / 0.7393 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.055, allocations: 2.312 kB / 0.7393 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/1.057, allocations: 1.577 MB / 0.7408 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.057, allocations: 4.062 kB / 0.7408 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/1.058, allocations: 401.3 kB / 0.7412 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/1.058, allocations: 84.95 kB / 0.7413 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/1.059, allocations: 5.031 kB / 0.7413 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/1.059, allocations: 21.3 kB / 0.7413 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/1.059, allocations: 14.81 kB / 0.7414 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/1.059, allocations: 4.812 kB / 0.7414 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001032/1.059, allocations: 110.4 kB / 0.7415 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.059, allocations: 0 / 0.7415 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004235/1.059, allocations: 43.84 kB / 0.7415 GB, free: 9.961 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.001702/1.061, allocations: 0.9441 MB / 0.7424 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.062, allocations: 330.8 kB / 0.7427 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.062, allocations: 1.438 kB / 0.7427 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006177/1.063, allocations: 246.1 kB / 0.743 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/1.063, allocations: 30.62 kB / 0.743 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/1.068, allocations: 2.136 MB / 0.7451 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.068, allocations: 0.7081 MB / 0.7458 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000202/1.068, allocations: 28.92 kB / 0.7458 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.068, allocations: 39.12 kB / 0.7458 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/1.068, allocations: 11.88 kB / 0.7459 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/1.089, allocations: 4.19 MB / 0.75 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004529/1.09, allocations: 239.6 kB / 0.7502 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/3.185, allocations: 3.938 kB / 0.7502 GB, free: 4.625 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)