Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9738/0.9738, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.818/0.818, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.605e-05, allocations: 8.422 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002823/0.002839, allocations: 1.717 MB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.1809, allocations: 146.9 MB / 0.6139 GB, free: 2.18 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.181, allocations: 0 / 0.6139 GB, free: 2.18 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1812, allocations: 23.73 kB / 0.6139 GB, free: 2.156 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1814, allocations: 43.66 kB / 0.6139 GB, free: 2.113 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.1821, allocations: 147.2 kB / 0.6141 GB, free: 1.969 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1822, allocations: 124.1 kB / 0.6142 GB, free: 1.848 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.1823, allocations: 30.2 kB / 0.6142 GB, free: 1.816 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008277/0.1832, allocations: 251.9 kB / 0.6145 GB, free: 1.637 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.1832, allocations: 31.91 kB / 0.6145 GB, free: 1.605 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1832, allocations: 8 kB / 0.6145 GB, free: 1.598 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1835, allocations: 187.5 kB / 0.6147 GB, free: 1.414 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.1835, allocations: 19.92 kB / 0.6147 GB, free: 1.395 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.1836, allocations: 35.91 kB / 0.6147 GB, free: 1.359 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1838, allocations: 179.4 kB / 0.6149 GB, free: 1.184 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1838, allocations: 3.938 kB / 0.6149 GB, free: 1.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1838, allocations: 4 kB / 0.6149 GB, free: 1.176 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1838, allocations: 0 / 0.6149 GB, free: 1.176 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003374/0.1842, allocations: 336.2 kB / 0.6152 GB, free: 0.8242 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1842, allocations: 8.031 kB / 0.6152 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.1847, allocations: 111.7 kB / 0.6153 GB, free: 0.707 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1848, allocations: 141.1 kB / 0.6155 GB, free: 0.543 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1848, allocations: 0 / 0.6155 GB, free: 0.543 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1848, allocations: 12 kB / 0.6155 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.185, allocations: 110.3 kB / 0.6156 GB, free: 424 kB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.185, allocations: 0 / 0.6156 GB, free: 424 kB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.185, allocations: 7.938 kB / 0.6156 GB, free: 416 kB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1851, allocations: 7.938 kB / 0.6156 GB, free: 408 kB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.1851, allocations: 31.97 kB / 0.6156 GB, free: 376 kB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.1855, allocations: 246.8 kB / 0.6159 GB, free: 112 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1856, allocations: 85.34 kB / 0.616 GB, free: 16 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1857, allocations: 24.84 kB / 0.616 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1857, allocations: 0 / 0.616 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1857, allocations: 42.5 kB / 0.616 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1857, allocations: 0 / 0.616 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0001471/0.1859, allocations: 73.59 kB / 0.6161 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1859, allocations: 63.39 kB / 0.6162 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.186, allocations: 132.5 kB / 0.6163 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.186, allocations: 29.7 kB / 0.6163 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.186, allocations: 100.1 kB / 0.6164 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.186, allocations: 23.75 kB / 0.6164 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.1861, allocations: 29.69 kB / 0.6165 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.1861, allocations: 318.8 kB / 0.6168 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.1861, allocations: 8 kB / 0.6168 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.1862, allocations: 12 kB / 0.6168 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.1862, allocations: 35.66 kB / 0.6168 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1862, allocations: 4 kB / 0.6168 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.609e-05/0.1863, allocations: 73.59 kB / 0.6169 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1863, allocations: 10.28 kB / 0.6169 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1863, allocations: 0 / 0.6169 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1863, allocations: 0 / 0.6169 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.1864, allocations: 23.97 kB / 0.6169 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.1864, allocations: 0.5469 kB / 0.6169 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.1865, allocations: 11.98 kB / 0.6169 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1865, allocations: 4 kB / 0.6169 GB, free: 14.94 MB / 0.5886 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 (8): * Single equations (assignments): 8 * 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.57e-05/0.1865, allocations: 116.7 kB / 0.617 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1865, allocations: 11.92 kB / 0.6171 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.1866, allocations: 12.78 kB / 0.6171 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1866, allocations: 4 kB / 0.6171 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1866, allocations: 0 / 0.6171 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1866, allocations: 0 / 0.6171 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1868, allocations: 258.6 kB / 0.6173 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1868, allocations: 0 / 0.6173 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.1869, allocations: 27.91 kB / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1869, allocations: 0 / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1869, allocations: 0 / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1869, allocations: 0 / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1869, allocations: 0 / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.187, allocations: 171.4 kB / 0.6175 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.187, allocations: 11.83 kB / 0.6175 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.187, allocations: 4 kB / 0.6175 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.1871, allocations: 11.98 kB / 0.6175 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1871, allocations: 15.97 kB / 0.6176 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1871, allocations: 0 / 0.6176 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.1871, allocations: 26.03 kB / 0.6176 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 0 / 0.6176 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001465/0.1873, allocations: 39.89 kB / 0.6176 GB, free: 14.19 MB / 0.5886 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 (8): * Single equations (assignments): 8 * 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.0001063/0.1874, allocations: 84.41 kB / 0.6177 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.1875, allocations: 48.78 kB / 0.6177 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1875, allocations: 0 / 0.6177 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.1875, allocations: 28.83 kB / 0.6178 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.1877, allocations: 31.95 kB / 0.6178 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.1882, allocations: 227 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.1882, allocations: 63.34 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.1883, allocations: 25.17 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.1884, allocations: 75.3 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.1884, allocations: 4 kB / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of Templates: time 0.003311/0.1917, allocations: 2.019 MB / 0.6202 GB, free: 11.59 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9264936740510166]