Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007938, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008469/0.000847, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4214/0.4214, allocations: 55.02 MB / 325.4 MB, free: 0.7031 MB / 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.000532/0.0005321, allocations: 16 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4451, allocations: 60.72 MB / 457.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00124/0.4464, allocations: 0.9708 MB / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005266/0.4469, allocations: 278.5 kB / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4469, allocations: 0 / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.447, allocations: 0.5625 kB / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.447, allocations: 1.094 kB / 458.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4473, allocations: 44.56 kB / 458.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.4474, allocations: 20.56 kB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.4474, allocations: 0.5938 kB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.4475, allocations: 6.125 kB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.4475, allocations: 13.84 kB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4475, allocations: 3.062 kB / 458.7 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4477, allocations: 53.19 kB / 458.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.4477, allocations: 0 / 458.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.4477, allocations: 29.14 kB / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.4478, allocations: 29.94 kB / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4478, allocations: 5.719 kB / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4478, allocations: 0 / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4478, allocations: 0 / 458.8 MB, free: 38.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003051/0.4481, allocations: 330.7 kB / 459.1 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4482, allocations: 11.34 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.4484, allocations: 17.7 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.4485, allocations: 165.2 kB / 459.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4485, allocations: 1.219 kB / 459.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4485, allocations: 9.281 kB / 459.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4487, allocations: 48.72 kB / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4487, allocations: 3.422 kB / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4487, allocations: 0 / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4487, allocations: 0 / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.4487, allocations: 13.08 kB / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.4489, allocations: 159 kB / 459.6 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4505, allocations: 276.3 kB / 459.8 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.4505, allocations: 20.11 kB / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.4505, allocations: 2.609 kB / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.4506, allocations: 38.44 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4506, allocations: 0 / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.4507, allocations: 62.19 kB / 460 MB, free: 37.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4508, allocations: 52.03 kB / 460 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.4508, allocations: 104.1 kB / 460.1 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.4508, allocations: 25.7 kB / 460.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.404e-05/0.4509, allocations: 80.14 kB / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.4509, allocations: 15.22 kB / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.4509, allocations: 0 / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.451, allocations: 319.3 kB / 460.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.451, allocations: 4.375 kB / 460.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.451, allocations: 12.11 kB / 460.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.451, allocations: 16.12 kB / 460.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4511, allocations: 1 kB / 460.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.6e-05/0.4511, allocations: 51.05 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4511, allocations: 5.844 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4512, allocations: 1.312 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4512, allocations: 0 / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.4512, allocations: 6.594 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4513, allocations: 2.094 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.4513, allocations: 1.688 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4513, allocations: 8.547 kB / 460.6 MB, free: 36.84 MB / 382.1 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 (4): * Single equations (assignments): 4 * 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 4.693e-05/0.4514, allocations: 112.2 kB / 460.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.4514, allocations: 10.27 kB / 460.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.4514, allocations: 11.38 kB / 460.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4514, allocations: 0 / 460.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4514, allocations: 0 / 460.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4514, allocations: 0 / 460.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.91e-05/0.4515, allocations: 164.3 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4515, allocations: 0.5625 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.4516, allocations: 6 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4516, allocations: 1.031 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.4516, allocations: 0 / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4516, allocations: 3.281 kB / 461 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4516, allocations: 2.281 kB / 461 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.4517, allocations: 81.64 kB / 461 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.4517, allocations: 83.84 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4518, allocations: 2.156 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.4518, allocations: 0.625 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.4518, allocations: 2.844 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4519, allocations: 8.812 kB / 461.1 MB, free: 36.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.4519, allocations: 79.34 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4519, allocations: 0 / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.4521, allocations: 5.781 kB / 461.2 MB, free: 36.28 MB / 382.1 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 (4): * Single equations (assignments): 4 * 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 8.49e-05/0.4522, allocations: 100.9 kB / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.566e-05/0.4523, allocations: 24.31 kB / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4523, allocations: 0 / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.4523, allocations: 14.16 kB / 461.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.4525, allocations: 14.48 kB / 461.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.4528, allocations: 148.5 kB / 461.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4529, allocations: 0.6748 MB / 462.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.453, allocations: 13.19 kB / 462.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.453, allocations: 7.438 kB / 462.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.453, allocations: 0 / 462.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002575/0.4556, allocations: 479 kB / 462.7 MB, free: 35.33 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: