Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006774/0.006774, allocations: 102.6 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 198.2 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4298/0.4298, allocations: 54.95 MB / 324.8 MB, free: 68 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 65.95 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1639, allocations: 59.59 MB / 0.5037 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002517/0.1665, allocations: 1.48 MB / 0.5052 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1693/0.3358, allocations: 132.1 MB / 0.6342 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.336, allocations: 0 / 0.6342 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.3362, allocations: 11.92 kB / 0.6342 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3364, allocations: 3.938 kB / 0.6342 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.337, allocations: 67.66 kB / 0.6343 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3372, allocations: 55.78 kB / 0.6343 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3374, allocations: 15.98 kB / 0.6343 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3375, allocations: 19.92 kB / 0.6343 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.3376, allocations: 27.91 kB / 0.6344 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.3376, allocations: 4 kB / 0.6344 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3378, allocations: 20 kB / 0.6344 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.3378, allocations: 11.92 kB / 0.6344 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.3379, allocations: 23.88 kB / 0.6344 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3382, allocations: 63.73 kB / 0.6345 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3382, allocations: 0 / 0.6345 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3382, allocations: 0 / 0.6345 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.3383, allocations: 0 / 0.6345 GB, free: 4.562 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008372/0.3391, allocations: 375.3 kB / 0.6348 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.3392, allocations: 8.031 kB / 0.6348 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.3393, allocations: 4.938 kB / 0.6349 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3395, allocations: 168.2 kB / 0.635 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3395, allocations: 8.375 kB / 0.635 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3396, allocations: 384 / 0.635 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3399, allocations: 78.14 kB / 0.6351 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3399, allocations: 4.188 kB / 0.6351 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3399, allocations: 7.938 kB / 0.6351 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3399, allocations: 0 / 0.6351 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.3403, allocations: 71.86 kB / 0.6352 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.3407, allocations: 284.7 kB / 0.6354 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3409, allocations: 58.58 kB / 0.6355 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3411, allocations: 40.81 kB / 0.6355 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.3413, allocations: 89.09 kB / 0.6356 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3413, allocations: 34.56 kB / 0.6357 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.3413, allocations: 4 kB / 0.6357 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006127/0.342, allocations: 129.5 kB / 0.6358 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.342, allocations: 51.41 kB / 0.6358 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3423, allocations: 117.8 kB / 0.636 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3423, allocations: 33.64 kB / 0.636 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.3424, allocations: 88.05 kB / 0.6361 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3425, allocations: 19.83 kB / 0.6361 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3425, allocations: 9.719 kB / 0.6361 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003622/0.3429, allocations: 322.8 kB / 0.6364 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3431, allocations: 31.95 kB / 0.6364 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3432, allocations: 35.97 kB / 0.6365 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3435, allocations: 73.05 kB / 0.6365 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3435, allocations: 0 / 0.6365 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003746/0.3439, allocations: 105.5 kB / 0.6366 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3439, allocations: 4 kB / 0.6366 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3439, allocations: 0 / 0.6366 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.344, allocations: 0 / 0.6366 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3441, allocations: 23.91 kB / 0.6367 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3441, allocations: 0 / 0.6367 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.3442, allocations: 11.98 kB / 0.6367 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3443, allocations: 0 / 0.6367 GB, free: 2.07 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.3444, allocations: 117.8 kB / 0.6368 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3444, allocations: 4 kB / 0.6368 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.3449, allocations: 105.5 kB / 0.6369 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3449, allocations: 0 / 0.6369 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3449, allocations: 0 / 0.6369 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3449, allocations: 3.984 kB / 0.6369 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3452, allocations: 177.6 kB / 0.6371 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3452, allocations: 0 / 0.6371 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.3453, allocations: 19.91 kB / 0.6371 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3453, allocations: 0 / 0.6371 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3453, allocations: 4 kB / 0.6371 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3453, allocations: 0 / 0.6371 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3453, allocations: 0 / 0.6371 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3457, allocations: 203.3 kB / 0.6373 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3458, allocations: 85.02 kB / 0.6374 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3458, allocations: 7.922 kB / 0.6374 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3459, allocations: 11.98 kB / 0.6374 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.346, allocations: 0 / 0.6374 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.346, allocations: 0 / 0.6374 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.3461, allocations: 99.27 kB / 0.6375 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3461, allocations: 4 kB / 0.6375 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.3463, allocations: 16 kB / 0.6375 GB, free: 1.121 MB / 0.4981 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.3465, allocations: 107.2 kB / 0.6376 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3469, allocations: 71.86 kB / 0.6377 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3469, allocations: 0 / 0.6377 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.347, allocations: 39.95 kB / 0.6377 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3474, allocations: 19.38 kB / 0.6377 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.3478, allocations: 151.6 kB / 0.6379 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.312/0.6598, allocations: 0.6846 MB / 0.6385 GB, free: 136 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.512e-05/0.66, allocations: 6.453 kB / 0.6385 GB, free: 136 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.66, allocations: 9.906 kB / 0.6386 GB, free: 136 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.66, allocations: 0 / 0.6386 GB, free: 136 MB / 0.4981 GB Notification: Performance of Templates: time 0.003608/0.6636, allocations: 0.9949 MB / 0.6395 GB, free: 135.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)