Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002496, allocations: 356.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.722/1.722, allocations: 165.8 MB / 182.5 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.689/3.689, allocations: 410.8 MB / 0.5995 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 199.4 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004869, allocations: 8 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3566, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001521/0.3582, allocations: 1.317 MB / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6294/0.9877, allocations: 137.4 MB / 0.9436 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.9878, allocations: 3.031 kB / 0.9436 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.9879, allocations: 7.828 kB / 0.9436 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.9882, allocations: 38.89 kB / 0.9436 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.9886, allocations: 116.3 kB / 0.9437 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.9888, allocations: 115.2 kB / 0.9438 GB, free: 1.648 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.9889, allocations: 22.88 kB / 0.9439 GB, free: 1.648 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.9893, allocations: 114.9 kB / 0.944 GB, free: 1.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.9894, allocations: 35.95 kB / 0.944 GB, free: 1.645 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.9894, allocations: 6.422 kB / 0.944 GB, free: 1.645 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.9898, allocations: 178.2 kB / 0.9442 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.9899, allocations: 16.16 kB / 0.9442 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.9899, allocations: 42.98 kB / 0.9442 GB, free: 1.609 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.9902, allocations: 125.3 kB / 0.9443 GB, free: 1.598 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.331e-06/0.9902, allocations: 0 / 0.9443 GB, free: 1.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.9902, allocations: 0 / 0.9443 GB, free: 1.598 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.638e-06/0.9902, allocations: 1.156 kB / 0.9443 GB, free: 1.598 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006293/0.9909, allocations: 448.4 kB / 0.9448 GB, free: 1.199 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9909, allocations: 6.75 kB / 0.9448 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.992, allocations: 78.28 kB / 0.9449 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.9923, allocations: 202.8 kB / 0.9451 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.9923, allocations: 6.438 kB / 0.9451 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.9923, allocations: 10.45 kB / 0.9451 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.9929, allocations: 156.2 kB / 0.9452 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-06/0.9929, allocations: 0 / 0.9452 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.9929, allocations: 0.75 kB / 0.9452 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-06/0.993, allocations: 6.953 kB / 0.9452 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.9936, allocations: 159.5 kB / 0.9454 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/0.9946, allocations: 410.8 kB / 0.9458 GB, free: 16.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.9955, allocations: 263.5 kB / 0.946 GB, free: 16.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.9958, allocations: 84.31 kB / 0.9461 GB, free: 16.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.9959, allocations: 0 / 0.9461 GB, free: 16.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.9959, allocations: 50.86 kB / 0.9461 GB, free: 16.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 2.278e-06/0.9959, allocations: 1.75 kB / 0.9461 GB, free: 16.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009702/0.9969, allocations: 249.4 kB / 0.9464 GB, free: 16.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.997, allocations: 54.09 kB / 0.9464 GB, free: 16.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.9971, allocations: 148 kB / 0.9466 GB, free: 16.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.9972, allocations: 28.64 kB / 0.9466 GB, free: 16.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.9973, allocations: 104.8 kB / 0.9467 GB, free: 16.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.9973, allocations: 25.14 kB / 0.9467 GB, free: 16.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.9973, allocations: 7.156 kB / 0.9467 GB, free: 16.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.9975, allocations: 319.8 kB / 0.947 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.9978, allocations: 66.41 kB / 0.9471 GB, free: 15.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.9981, allocations: 89.08 kB / 0.9472 GB, free: 15.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.9984, allocations: 66.78 kB / 0.9473 GB, free: 15.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-06/0.9984, allocations: 1.781 kB / 0.9473 GB, free: 15.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006285/0.9991, allocations: 181.7 kB / 0.9474 GB, free: 15.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9991, allocations: 7.234 kB / 0.9474 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-06/0.9991, allocations: 0 / 0.9474 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9991, allocations: 8.969 kB / 0.9474 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.9994, allocations: 38.66 kB / 0.9475 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.542e-06/0.9994, allocations: 4.547 kB / 0.9475 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.9996, allocations: 18.98 kB / 0.9475 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.9997, allocations: 3.031 kB / 0.9475 GB, free: 15.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.9998, allocations: 119.2 kB / 0.9476 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.9999, allocations: 13.81 kB / 0.9476 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.9999, allocations: 23.48 kB / 0.9477 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-06/1, allocations: 0 / 0.9477 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1, allocations: 3.031 kB / 0.9477 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.493e-06/1, allocations: 0 / 0.9477 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/1.001, allocations: 487.1 kB / 0.9481 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.514e-06/1.001, allocations: 7.953 kB / 0.9481 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/1.001, allocations: 28.64 kB / 0.9482 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-06/1.001, allocations: 5.062 kB / 0.9482 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.001, allocations: 1.969 kB / 0.9482 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-06/1.001, allocations: 3.344 kB / 0.9482 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-06/1.001, allocations: 0 / 0.9482 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/1.002, allocations: 277.2 kB / 0.9484 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/1.002, allocations: 87.88 kB / 0.9485 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/1.002, allocations: 8.859 kB / 0.9485 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/1.002, allocations: 18.47 kB / 0.9485 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.003, allocations: 13.59 kB / 0.9486 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.003, allocations: 6.438 kB / 0.9486 GB, free: 15.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001044/1.003, allocations: 112.3 kB / 0.9487 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.003, allocations: 2.938 kB / 0.9487 GB, free: 14.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003696/1.003, allocations: 30.38 kB / 0.9487 GB, free: 14.96 MB / 490.7 MB 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/1.003, allocations: 109.9 kB / 0.9488 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/1.004, allocations: 151 kB / 0.9489 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.004, allocations: 0 / 0.9489 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/1.004, allocations: 77.52 kB / 0.949 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/1.005, allocations: 36.73 kB / 0.9491 GB, free: 14.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/1.005, allocations: 257.6 kB / 0.9493 GB, free: 14.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/1.006, allocations: 0.7009 MB / 0.95 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/1.006, allocations: 33.97 kB / 0.95 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/1.006, allocations: 16.58 kB / 0.95 GB, free: 13.97 MB / 490.7 MB Notification: Performance of SimCode: time 1.76e-06/1.006, allocations: 0 / 0.95 GB, free: 13.97 MB / 490.7 MB Notification: Performance of Templates: time 0.005535/1.012, allocations: 1.69 MB / 0.9517 GB, free: 13.87 MB / 490.7 MB