Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.986/2.986, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001286/0.001286, allocations: 180.7 kB / 371 MB, free: 10.86 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.126/2.126, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009571/0.0009562, allocations: 88.25 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006749, allocations: 11.38 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001455/0.2284, allocations: 0.9976 MB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2302, allocations: 0.8483 MB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.2303, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.2303, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.2304, allocations: 3.938 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.2312, allocations: 149.8 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.2313, allocations: 15.92 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.2313, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.2314, allocations: 15.94 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.2314, allocations: 7.969 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2315, allocations: 4 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.2319, allocations: 173.7 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2319, allocations: 7.922 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.232, allocations: 29.7 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2322, allocations: 108 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2322, allocations: 0 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2323, allocations: 0 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2323, allocations: 0 / 0.9807 GB, free: 25.98 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.000391/0.2327, allocations: 347.4 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2327, allocations: 12.03 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.233, allocations: 15.84 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.2331, allocations: 163.1 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2331, allocations: 3.938 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2331, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2333, allocations: 45.67 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2333, allocations: 0 / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.2333, allocations: 4 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2333, allocations: 3.938 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.2334, allocations: 19.94 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2336, allocations: 153.7 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.235, allocations: 122.6 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.2351, allocations: 24.84 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.2353, allocations: 81.11 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2353, allocations: 38.56 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.906e-06/0.2353, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.2356, allocations: 61.62 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2356, allocations: 55.39 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/0.2357, allocations: 93.86 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2357, allocations: 25.7 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.2357, allocations: 80.14 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.2358, allocations: 15.75 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.2358, allocations: 4.125 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2358, allocations: 318.8 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.2359, allocations: 7.984 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.2359, allocations: 8 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.236, allocations: 12 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.236, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2361, allocations: 57.62 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2362, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2362, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2362, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2363, allocations: 15.98 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2363, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.2364, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2364, allocations: 3.938 kB / 0.9824 GB, free: 23.98 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.774e-05/0.2365, allocations: 117.8 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.2365, allocations: 3.938 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.2368, allocations: 77.11 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2368, allocations: 4 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2369, allocations: 0 / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2369, allocations: 3.984 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.237, allocations: 165.5 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.237, allocations: 64 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.2371, allocations: 12 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2371, allocations: 0 / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2371, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2372, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2372, allocations: 0 / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2373, allocations: 89.02 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.2374, allocations: 85.03 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2374, allocations: 336 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.2375, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.2375, allocations: 0 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2375, allocations: 12 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.2376, allocations: 75.28 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2376, allocations: 0 / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003571/0.2379, allocations: 43.98 kB / 0.9831 GB, free: 23.19 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 (5): * Single equations (assignments): 5 * 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.0004557/0.2384, allocations: 171.9 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2386, allocations: 28.08 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2386, allocations: 4 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.2386, allocations: 15.94 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.2389, allocations: 10.53 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.2393, allocations: 140.5 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2394, allocations: 0.6808 MB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.871e-05/0.2395, allocations: 8 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.2396, allocations: 11.44 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2396, allocations: 0 / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.004727/0.2443, allocations: 1.013 MB / 0.9851 GB, free: 21.06 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)