Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.0007233/0.0007233, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009807/0.001704, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007167/0.0007167, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009955/0.001712, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.928/0.928, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09833/1.026, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.8271/0.8271, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3041/1.131, allocations: 49.04 MB / 447.8 MB, free: 6.578 MB / 426.7 MB " [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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.309e-05, allocations: 3.406 kB / 449.1 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001393/0.001417, allocations: 0.5806 MB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.037e-05/0.001497, allocations: 36.48 kB / 449.8 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.001552, allocations: 0.6875 kB / 449.8 MB, free: 4.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.001579, allocations: 7.938 kB / 449.8 MB, free: 4.688 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.001659, allocations: 6.141 kB / 449.8 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.302e-05/0.001702, allocations: 11.92 kB / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.001763, allocations: 8.188 kB / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.001805, allocations: 4 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.001896, allocations: 13.62 kB / 449.8 MB, free: 4.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.001992, allocations: 9.375 kB / 449.8 MB, free: 4.645 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.002015, allocations: 5.688 kB / 449.8 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.002023, allocations: 0 / 449.8 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.002073, allocations: 6.188 kB / 449.8 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.002096, allocations: 4.812 kB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.764e-05/0.002174, allocations: 9.406 kB / 449.8 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.002187, allocations: 6.438 kB / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002188, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.002199, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003293/0.002528, allocations: 238.7 kB / 450.1 MB, free: 4.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.002565, allocations: 8.031 kB / 450.1 MB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.002594, allocations: 4.938 kB / 450.1 MB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.00272, allocations: 108.3 kB / 450.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.002727, allocations: 1.031 kB / 450.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.002747, allocations: 384 / 450.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.948e-05/0.002816, allocations: 37.08 kB / 450.2 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.002822, allocations: 3.516 kB / 450.2 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.00283, allocations: 384 / 450.2 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.002834, allocations: 384 / 450.2 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.031e-05/0.002845, allocations: 8.531 kB / 450.3 MB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.766e-05/0.002912, allocations: 63.86 kB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.002949, allocations: 19.33 kB / 450.3 MB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.00296, allocations: 8.859 kB / 450.3 MB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.00297, allocations: 1.125 kB / 450.3 MB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.002988, allocations: 30.56 kB / 450.4 MB, free: 4.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.002989, allocations: 0.6562 kB / 450.4 MB, free: 4.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001015/0.00309, allocations: 42.25 kB / 450.4 MB, free: 3.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.003121, allocations: 54.69 kB / 450.5 MB, free: 3.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.003188, allocations: 106.7 kB / 450.6 MB, free: 3.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.003197, allocations: 25.7 kB / 450.6 MB, free: 3.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.003224, allocations: 87.61 kB / 450.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.00325, allocations: 8.438 kB / 450.7 MB, free: 3.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.003285, allocations: 17.72 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.003371, allocations: 318.8 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.00338, allocations: 6.828 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.003395, allocations: 14.61 kB / 451 MB, free: 3.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.003428, allocations: 27.45 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.003431, allocations: 0 / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.405e-05/0.003485, allocations: 40.77 kB / 451.1 MB, free: 3.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.003498, allocations: 6.438 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.003503, allocations: 0 / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003514, allocations: 0 / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.00358, allocations: 13.97 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.003584, allocations: 0 / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.0036, allocations: 5 kB / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.003606, allocations: 0 / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.281e-05/0.003669, allocations: 118.7 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.003678, allocations: 4 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.003756, allocations: 41.16 kB / 451.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.003758, allocations: 0.6562 kB / 451.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.003759, allocations: 0 / 451.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.003763, allocations: 1.219 kB / 451.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.268e-05/0.003825, allocations: 69.84 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.003827, allocations: 0.6562 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.003856, allocations: 5.062 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.003872, allocations: 7.922 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.003874, allocations: 0 / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.003884, allocations: 2.328 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.003885, allocations: 0 / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.003886, allocations: 4.875 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.821e-05/0.003984, allocations: 79.38 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.003996, allocations: 5.531 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/0.004003, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.004014, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.004017, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.004034, allocations: 12.84 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004034, allocations: 1.469 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.351e-05/0.004128, allocations: 4.547 kB / 451.5 MB, free: 2.793 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 8.158e-05/0.00421, allocations: 73.11 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.253e-05/0.004272, allocations: 17.94 kB / 451.6 MB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.004277, allocations: 5.859 kB / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.004291, allocations: 13.84 kB / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.563e-05/0.004367, allocations: 10.06 kB / 451.6 MB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.004575, allocations: 113.3 kB / 451.7 MB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.004603, allocations: 59.84 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.004616, allocations: 0.6875 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.004658, allocations: 55.38 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.004659, allocations: 0.625 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of Templates: time 0.001752/0.006411, allocations: 369.7 kB / 452.2 MB, free: 2.051 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3394439052790403]