Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.649/2.649, allocations: 287.5 MB / 302.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.0013, allocations: 181.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.78 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000757/0.0007574, allocations: 12.19 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2423, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001399/0.2437, allocations: 0.9821 MB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.2443, allocations: 287.2 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.2444, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.2444, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.2444, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.2447, allocations: 51.8 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.2448, allocations: 15.88 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.2449, allocations: 0 / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.2449, allocations: 4 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.245, allocations: 15.92 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.245, allocations: 4 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2451, allocations: 47.95 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.2452, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2452, allocations: 29.7 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2453, allocations: 44.17 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2453, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2453, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2454, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB 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.0002963/0.2457, allocations: 331.4 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2457, allocations: 16.03 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.246, allocations: 11.98 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.2461, allocations: 174.9 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2461, allocations: 0 / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2461, allocations: 0 / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2463, allocations: 45.62 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2463, allocations: 0 / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2463, allocations: 0 / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2463, allocations: 3.938 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.2464, allocations: 20 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.2465, allocations: 161.6 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.2496, allocations: 266.5 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.2496, allocations: 24.84 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2497, allocations: 7.938 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2497, allocations: 30.56 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.2497, allocations: 0 / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.2499, allocations: 65.67 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.2499, allocations: 55.41 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.25, allocations: 89.86 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.25, allocations: 25.7 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.53e-05/0.25, allocations: 80.14 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.2501, allocations: 19.8 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2501, allocations: 0 / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.2502, allocations: 314.8 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.2502, allocations: 11.94 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.2502, allocations: 16.05 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.2503, allocations: 12 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2503, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/0.2504, allocations: 53.69 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2504, allocations: 6.031 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2504, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2505, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.2506, allocations: 8 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2506, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.2506, allocations: 4 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2507, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 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 (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 6.244e-05/0.2507, allocations: 117.8 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.2508, allocations: 3.938 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.2508, allocations: 11.48 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2508, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2508, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2508, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.2509, allocations: 169.5 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2509, allocations: 0 / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.251, allocations: 4 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.251, allocations: 4 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2511, allocations: 4 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2511, allocations: 0 / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2511, allocations: 4 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.2512, allocations: 84.98 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2513, allocations: 81.09 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2513, allocations: 0 / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.2514, allocations: 4 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2514, allocations: 7.938 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2514, allocations: 4 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.2515, allocations: 79.28 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2515, allocations: 0 / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002311/0.2517, allocations: 4 kB / 0.9821 GB, free: 24.18 MB / 0.6198 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 (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 0.0001073/0.2518, allocations: 99.23 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2519, allocations: 24 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.252, allocations: 4.094 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.252, allocations: 19.92 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2523, allocations: 7.938 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.2527, allocations: 137.1 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2528, allocations: 0.677 MB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.2529, allocations: 7.938 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2529, allocations: 7.438 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.2529, allocations: 4 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.002793/0.2557, allocations: 470.6 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)