Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001492/0.001492, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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.257/1.257, allocations: 203.8 MB / 0.5041 GB, free: 4.625 MB / 414.1 MB " [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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.83 kB / 0.7186 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6647, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.2142/0.8789, allocations: 142.4 MB / 0.9573 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.8825, allocations: 1.607 MB / 0.9588 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.8831, allocations: 23.81 kB / 0.9589 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008232/0.8839, allocations: 151 kB / 0.959 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.8858, allocations: 0.5212 MB / 0.9595 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.8872, allocations: 449.3 kB / 0.9599 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.8883, allocations: 0.5654 MB / 0.9605 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.8887, allocations: 148.7 kB / 0.9606 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.8901, allocations: 0.4904 MB / 0.9611 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.8903, allocations: 155.3 kB / 0.9613 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.8903, allocations: 12 kB / 0.9613 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.8915, allocations: 0.5573 MB / 0.9618 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.8916, allocations: 83.66 kB / 0.9619 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.8917, allocations: 95.53 kB / 0.962 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.8928, allocations: 493.8 kB / 0.9625 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8928, allocations: 0 / 0.9625 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8928, allocations: 0 / 0.9625 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.8928, allocations: 0 / 0.9625 GB, free: 2.324 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001145/0.8939, allocations: 0.5197 MB / 0.963 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.894, allocations: 9.469 kB / 0.963 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.8944, allocations: 67.77 kB / 0.963 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.895, allocations: 240.1 kB / 0.9633 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.8951, allocations: 16 kB / 0.9633 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.8951, allocations: 12 kB / 0.9633 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.8956, allocations: 225.8 kB / 0.9635 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.8956, allocations: 0 / 0.9635 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.8956, allocations: 8 kB / 0.9635 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.8956, allocations: 4 kB / 0.9635 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.896, allocations: 127.8 kB / 0.9636 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.8972, allocations: 0.629 MB / 0.9643 GB, free: 372 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.8975, allocations: 78.53 kB / 0.9643 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.8977, allocations: 80.8 kB / 0.9644 GB, free: 200 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.898, allocations: 31.98 kB / 0.9644 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.898, allocations: 34.56 kB / 0.9645 GB, free: 124 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.898, allocations: 0 / 0.9645 GB, free: 124 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007991/0.8988, allocations: 213.6 kB / 0.9647 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.8989, allocations: 55.16 kB / 0.9647 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.8991, allocations: 225.9 kB / 0.9649 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.8991, allocations: 33.7 kB / 0.965 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.8993, allocations: 156.3 kB / 0.9651 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.8994, allocations: 39.69 kB / 0.9652 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.8994, allocations: 25.7 kB / 0.9652 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.8996, allocations: 330.8 kB / 0.9655 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.8998, allocations: 48.81 kB / 0.9655 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.9, allocations: 221.6 kB / 0.9658 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.9003, allocations: 127.3 kB / 0.9659 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9003, allocations: 0 / 0.9659 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003814/0.9007, allocations: 157.4 kB / 0.966 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.9007, allocations: 6.188 kB / 0.966 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9008, allocations: 7.984 kB / 0.966 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.9008, allocations: 3.938 kB / 0.966 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.9009, allocations: 19.98 kB / 0.9661 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.9009, allocations: 4 kB / 0.9661 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.9011, allocations: 20.52 kB / 0.9661 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.9011, allocations: 4 kB / 0.9661 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000218/0.9013, allocations: 144.1 kB / 0.9662 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002524/0.9016, allocations: 229.5 kB / 0.9665 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002597/0.9019, allocations: 115.3 kB / 0.9666 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.9019, allocations: 0 / 0.9666 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003442/0.9022, allocations: 157.4 kB / 0.9667 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9022, allocations: 8 kB / 0.9667 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.9022, allocations: 0 / 0.9667 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.9022, allocations: 0 / 0.9667 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9023, allocations: 23.92 kB / 0.9667 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.9023, allocations: 11.88 kB / 0.9668 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.9025, allocations: 15.97 kB / 0.9668 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.9025, allocations: 8.031 kB / 0.9668 GB, free: 13.57 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001574/0.9027, allocations: 189.2 kB / 0.967 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.9027, allocations: 23.98 kB / 0.967 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.9031, allocations: 155.5 kB / 0.9671 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.9032, allocations: 11.94 kB / 0.9671 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9032, allocations: 0 / 0.9671 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9032, allocations: 3.984 kB / 0.9671 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.9042, allocations: 0.5115 MB / 0.9676 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.9042, allocations: 7.984 kB / 0.9677 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.9043, allocations: 19.98 kB / 0.9677 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.9043, allocations: 4 kB / 0.9677 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.9043, allocations: 4 kB / 0.9677 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9043, allocations: 8.219 kB / 0.9677 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9043, allocations: 4 kB / 0.9677 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.9048, allocations: 297.2 kB / 0.968 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.9049, allocations: 31.84 kB / 0.968 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.9049, allocations: 7.984 kB / 0.968 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.9051, allocations: 12.36 kB / 0.968 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.9052, allocations: 15.92 kB / 0.968 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.9052, allocations: 8 kB / 0.968 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001814/0.9054, allocations: 165.2 kB / 0.9682 GB, free: 12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.9054, allocations: 3.938 kB / 0.9682 GB, free: 12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005431/0.9059, allocations: 107.7 kB / 0.9683 GB, free: 11.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0003329/0.9062, allocations: 147.6 kB / 0.9685 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.9068, allocations: 159.8 kB / 0.9686 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9068, allocations: 0 / 0.9686 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.9069, allocations: 67.95 kB / 0.9687 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.9076, allocations: 98.45 kB / 0.9688 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.9085, allocations: 433.1 kB / 0.9692 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.9087, allocations: 154.1 kB / 0.9693 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.9089, allocations: 65.81 kB / 0.9694 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.9089, allocations: 23.44 kB / 0.9694 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.9089, allocations: 4 kB / 0.9694 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.009996/0.9189, allocations: 4.241 MB / 0.9736 GB, free: 6.57 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2564848102629185] Failed to read output from testmodel.py, exit status != 0: 0.9288776181638241 0.94559056 0.049357848 Calling exit ...