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.001093/0.001093, allocations: 97.64 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.008647/0.008647, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.718/1.718, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4271/0.4271, allocations: 55 MB / 325.7 MB, free: 0.5273 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.0004913/0.0004912, allocations: 15.98 kB / 397.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3792, allocations: 60.72 MB / 458 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001316/0.3806, allocations: 0.9813 MB / 459 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006095/0.3812, allocations: 296.2 kB / 459.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.3812, allocations: 2.812 kB / 459.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3813, allocations: 3.938 kB / 459.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3813, allocations: 0 / 459.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.3816, allocations: 36.62 kB / 459.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.3817, allocations: 22.33 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.3817, allocations: 5.016 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.3818, allocations: 5.484 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3819, allocations: 15.8 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3819, allocations: 4.688 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.382, allocations: 51.88 kB / 459.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.382, allocations: 2.656 kB / 459.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3821, allocations: 33.61 kB / 459.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3822, allocations: 49.45 kB / 459.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3822, allocations: 0 / 459.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3822, allocations: 0.5312 kB / 459.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3822, allocations: 0 / 459.5 MB, free: 38.41 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.0003271/0.3826, allocations: 333.2 kB / 459.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3826, allocations: 10.53 kB / 459.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.3828, allocations: 19.39 kB / 459.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.3829, allocations: 162.9 kB / 460 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.383, allocations: 6.094 kB / 460 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.383, allocations: 384 / 460 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3831, allocations: 46.5 kB / 460 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3831, allocations: 4.125 kB / 460 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3831, allocations: 5.531 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3831, allocations: 1.844 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.3832, allocations: 15.31 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3834, allocations: 158.5 kB / 460.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.3851, allocations: 270.7 kB / 460.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.3852, allocations: 21.97 kB / 460.5 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.3852, allocations: 3.938 kB / 460.5 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3852, allocations: 39.06 kB / 460.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3852, allocations: 1.375 kB / 460.6 MB, free: 37.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001648/0.3854, allocations: 60.11 kB / 460.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3854, allocations: 62.94 kB / 460.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.3855, allocations: 95.02 kB / 460.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3855, allocations: 25.7 kB / 460.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.3855, allocations: 80.14 kB / 460.9 MB, free: 37.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3856, allocations: 15.91 kB / 460.9 MB, free: 37.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.3856, allocations: 14.81 kB / 460.9 MB, free: 37.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.3857, allocations: 310.8 kB / 461.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.3857, allocations: 15.06 kB / 461.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.3857, allocations: 3.156 kB / 461.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.3858, allocations: 38.16 kB / 461.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3858, allocations: 0 / 461.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.692e-05/0.3858, allocations: 53.81 kB / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3859, allocations: 5.438 kB / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3859, allocations: 8.125 kB / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3859, allocations: 0 / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.386, allocations: 5.312 kB / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.386, allocations: 0 / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.386, allocations: 0 / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.386, allocations: 3.906 kB / 461.3 MB, free: 36.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.3861, allocations: 116.5 kB / 461.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3861, allocations: 7.75 kB / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.3861, allocations: 12.44 kB / 461.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3862, allocations: 0 / 461.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3862, allocations: 1.438 kB / 461.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3862, allocations: 0 / 461.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.936e-05/0.3863, allocations: 157.8 kB / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3863, allocations: 0.9375 kB / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3863, allocations: 10.25 kB / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3863, allocations: 0 / 461.6 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3863, allocations: 3.938 kB / 461.6 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3863, allocations: 0 / 461.6 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3863, allocations: 2.969 kB / 461.6 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.3864, allocations: 79.22 kB / 461.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.3865, allocations: 80.34 kB / 461.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3865, allocations: 8.688 kB / 461.8 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.3866, allocations: 3.719 kB / 461.8 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.3866, allocations: 8.672 kB / 461.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3866, allocations: 0 / 461.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.982e-05/0.3866, allocations: 77 kB / 461.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3866, allocations: 0 / 461.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.3868, allocations: 12.27 kB / 461.9 MB, free: 36.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.932e-05/0.3869, allocations: 96.41 kB / 462 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.387, allocations: 24.33 kB / 462 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.387, allocations: 0 / 462 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.3871, allocations: 20.22 kB / 462 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.0002414/0.3873, allocations: 9.891 kB / 462.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3877, allocations: 141.4 kB / 462.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3878, allocations: 0.6758 MB / 462.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.3879, allocations: 6.719 kB / 462.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.3879, allocations: 10.62 kB / 462.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3879, allocations: 0 / 462.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of Templates: time 0.002743/0.3907, allocations: 497.2 kB / 463.4 MB, free: 35.34 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: