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.0009034/0.0009078, allocations: 98.19 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.006003/0.006003, allocations: 168.8 kB / 16.26 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.566/1.566, 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-master/package.mo): time 1.029/1.029, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 8 kB / 0.5077 GB, free: 4.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 82.3 MB / 0.5881 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00306/0.2281, allocations: 1.585 MB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7353/0.9634, allocations: 151.5 MB / 0.7375 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.964, allocations: 5.156 kB / 0.7375 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.9644, allocations: 23.14 kB / 0.7376 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007759/0.9652, allocations: 64.45 kB / 0.7376 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.9674, allocations: 221.7 kB / 0.7378 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.9682, allocations: 245.8 kB / 0.7381 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.9686, allocations: 66.83 kB / 0.7381 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.9722, allocations: 208.9 kB / 0.7383 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.9725, allocations: 75.8 kB / 0.7384 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.9726, allocations: 11.97 kB / 0.7384 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.9737, allocations: 175.9 kB / 0.7386 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.9738, allocations: 31.77 kB / 0.7386 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.9741, allocations: 100.5 kB / 0.7387 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.9752, allocations: 263.2 kB / 0.739 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.9753, allocations: 0 / 0.739 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.977e-06/0.9753, allocations: 0 / 0.739 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.9753, allocations: 0 / 0.739 GB, free: 12.19 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.001741/0.9771, allocations: 495.6 kB / 0.7394 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/0.9771, allocations: 9.031 kB / 0.7394 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.9773, allocations: 54.91 kB / 0.7395 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.9789, allocations: 77.34 kB / 0.7396 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.9795, allocations: 228.7 kB / 0.7398 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.9796, allocations: 40.72 kB / 0.7398 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.9797, allocations: 18.44 kB / 0.7398 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.9808, allocations: 268.2 kB / 0.7401 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.9809, allocations: 0.9375 kB / 0.7401 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.981, allocations: 10.31 kB / 0.7401 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.981, allocations: 4.062 kB / 0.7401 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.982, allocations: 175.1 kB / 0.7403 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.9853, allocations: 1.195 MB / 0.7414 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.9867, allocations: 212.1 kB / 0.7416 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.9871, allocations: 76.86 kB / 0.7417 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.9872, allocations: 3.984 kB / 0.7417 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.9872, allocations: 40.34 kB / 0.7418 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 4.298e-06/0.9872, allocations: 0 / 0.7418 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.004999/0.9923, allocations: 0.6468 MB / 0.7424 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.9924, allocations: 53.62 kB / 0.7424 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.9929, allocations: 200.9 kB / 0.7426 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.993, allocations: 26.67 kB / 0.7427 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.9931, allocations: 140.4 kB / 0.7428 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.9932, allocations: 40.28 kB / 0.7428 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.9934, allocations: 20.78 kB / 0.7428 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.9936, allocations: 329 kB / 0.7432 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.994, allocations: 77.39 kB / 0.7432 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.9945, allocations: 143.2 kB / 0.7434 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.9954, allocations: 213.2 kB / 0.7436 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9954, allocations: 3.938 kB / 0.7436 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002742/0.9982, allocations: 383.4 kB / 0.7439 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.9982, allocations: 10.48 kB / 0.744 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.9983, allocations: 1.625 kB / 0.744 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1, allocations: 164 kB / 0.7441 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/1.001, allocations: 41.77 kB / 0.7442 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/1.007, allocations: 3.037 MB / 0.7471 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.008, allocations: 30.55 kB / 0.7471 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/1.008, allocations: 13.23 kB / 0.7472 GB, free: 5.742 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 (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.000321/1.009, allocations: 132 kB / 0.7473 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.009, allocations: 17.12 kB / 0.7473 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/1.011, allocations: 387.1 kB / 0.7477 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.011, allocations: 2.75 kB / 0.7477 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.011, allocations: 0 / 0.7477 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.011, allocations: 3.766 kB / 0.7477 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/1.012, allocations: 282 kB / 0.7479 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.012, allocations: 4 kB / 0.7479 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/1.012, allocations: 27.14 kB / 0.748 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/1.014, allocations: 162.5 kB / 0.7481 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/1.014, allocations: 1.375 kB / 0.7481 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006754/1.021, allocations: 3.081 MB / 0.7511 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.021, allocations: 1.281 kB / 0.7511 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.024, allocations: 440.5 kB / 0.7516 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/1.024, allocations: 112.3 kB / 0.7517 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/1.024, allocations: 7.922 kB / 0.7517 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/1.025, allocations: 23.14 kB / 0.7517 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.025, allocations: 15.92 kB / 0.7517 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.025, allocations: 14.91 kB / 0.7517 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003687/1.025, allocations: 145.7 kB / 0.7519 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/1.025, allocations: 0 / 0.7519 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009552/1.026, allocations: 73.06 kB / 0.7519 GB, free: 1.602 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 (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.003114/1.029, allocations: 0.9876 MB / 0.7529 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.032, allocations: 457.8 kB / 0.7533 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.032, allocations: 0 / 0.7533 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.033, allocations: 366.7 kB / 0.7537 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/1.034, allocations: 55.47 kB / 0.7537 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009138/1.043, allocations: 2.6 MB / 0.7563 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/1.044, allocations: 0.7346 MB / 0.757 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005552/1.044, allocations: 33.95 kB / 0.757 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/1.045, allocations: 57.47 kB / 0.7571 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of SimCode: time 1.663e-06/1.045, allocations: 0 / 0.7571 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/1.139, allocations: 6.645 MB / 0.7636 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/1.14, allocations: 228.8 kB / 0.7638 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.348, allocations: 0 / 0.7638 GB, free: 7.535 MB / 0.5762 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/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)