Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001417/0.001417, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001961/0.001961, allocations: 167.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.493/1.493, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.214/1.214, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.962e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001507/0.001536, allocations: 0.5381 MB / 0.619 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.001728, allocations: 43.75 kB / 0.6191 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.00178, allocations: 0 / 0.6191 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.00181, allocations: 0 / 0.6191 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.001954, allocations: 3.938 kB / 0.6191 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.929e-05/0.002023, allocations: 15.92 kB / 0.6191 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.002097, allocations: 7.984 kB / 0.6191 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.002143, allocations: 0 / 0.6191 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.002211, allocations: 11.92 kB / 0.6191 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.002281, allocations: 8 kB / 0.6191 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.002304, allocations: 4 kB / 0.6191 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.002313, allocations: 4 kB / 0.6191 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.002364, allocations: 3.984 kB / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.002395, allocations: 8 kB / 0.6191 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.639e-05/0.002472, allocations: 15.91 kB / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002474, allocations: 0 / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002475, allocations: 0 / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.002479, allocations: 0 / 0.6191 GB, free: 4.02 MB / 0.5294 GB 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.0004343/0.002913, allocations: 258.3 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.002952, allocations: 9.469 kB / 0.6194 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.002987, allocations: 16.89 kB / 0.6194 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.003164, allocations: 109.8 kB / 0.6195 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.003178, allocations: 4.375 kB / 0.6195 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.003201, allocations: 4.375 kB / 0.6195 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.003289, allocations: 30.2 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.003299, allocations: 4.188 kB / 0.6196 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003308, allocations: 4.359 kB / 0.6196 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.003311, allocations: 384 / 0.6196 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.003332, allocations: 3.938 kB / 0.6196 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.003479, allocations: 105.4 kB / 0.6197 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.003534, allocations: 22.56 kB / 0.6197 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.003554, allocations: 8.922 kB / 0.6197 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.003568, allocations: 3.938 kB / 0.6197 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.0036, allocations: 34.56 kB / 0.6197 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003601, allocations: 3.938 kB / 0.6197 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.003744, allocations: 41.64 kB / 0.6198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.003789, allocations: 55.39 kB / 0.6198 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.003904, allocations: 117.8 kB / 0.6199 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.003919, allocations: 25.7 kB / 0.62 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.003962, allocations: 80.27 kB / 0.62 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.003981, allocations: 8 kB / 0.6201 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.004013, allocations: 13.72 kB / 0.6201 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.004145, allocations: 314.8 kB / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.004161, allocations: 3.984 kB / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.004185, allocations: 17.72 kB / 0.6204 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.004234, allocations: 33.58 kB / 0.6204 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004236, allocations: 0 / 0.6204 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.728e-05/0.004313, allocations: 53.7 kB / 0.6205 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004327, allocations: 8 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004331, allocations: 0 / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.004346, allocations: 0 / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.004415, allocations: 4 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.00442, allocations: 0 / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.004446, allocations: 7.938 kB / 0.6205 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.004452, allocations: 0 / 0.6205 GB, free: 2.457 MB / 0.5294 GB 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 8.386e-05/0.004536, allocations: 114.8 kB / 0.6206 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.004544, allocations: 0 / 0.6206 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.004661, allocations: 57.11 kB / 0.6207 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.004663, allocations: 0 / 0.6207 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.004667, allocations: 3.938 kB / 0.6207 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.004671, allocations: 3.938 kB / 0.6207 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.004775, allocations: 105.3 kB / 0.6208 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004776, allocations: 256 / 0.6208 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.004824, allocations: 8 kB / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.004826, allocations: 0 / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.004837, allocations: 4 kB / 0.6208 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.004838, allocations: 0 / 0.6208 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004839, allocations: 0 / 0.6208 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.004976, allocations: 85.03 kB / 0.6209 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.004995, allocations: 4.031 kB / 0.6209 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.00501, allocations: 3.984 kB / 0.6209 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.005032, allocations: 4 kB / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.005051, allocations: 3.984 kB / 0.6209 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005054, allocations: 0 / 0.6209 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.005115, allocations: 95.2 kB / 0.621 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.005115, allocations: 3.938 kB / 0.621 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001785/0.005294, allocations: 7.938 kB / 0.621 GB, free: 1.891 MB / 0.5294 GB 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 0.0001027/0.005397, allocations: 95.34 kB / 0.6211 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.005472, allocations: 15.98 kB / 0.6211 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005473, allocations: 0 / 0.6211 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.005487, allocations: 4 kB / 0.6211 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.005631, allocations: 10.28 kB / 0.6211 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.005908, allocations: 112.7 kB / 0.6212 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.005968, allocations: 63.34 kB / 0.6213 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.005982, allocations: 3.984 kB / 0.6213 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.006011, allocations: 16.69 kB / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.006011, allocations: 0 / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of Templates: time 0.002661/0.008672, allocations: 324.9 kB / 0.6216 GB, free: 1.215 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.852802190929651] Failed to read output from testmodel.py, exit status != 0: 0.01718226820230484 0.031424892 0.026076039000000002 Calling exit ...