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.0007182/0.0007182, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.000711/0.000711, allocations: 212.6 kB / 23 MB, free: 2.98 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.8584/0.8584, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] 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 0.714/0.714, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] 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.0008366/0.0008366, allocations: 73.73 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.403, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1301/0.5331, allocations: 142.4 MB / 0.958 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.5353, allocations: 1.617 MB / 0.9596 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.5355, allocations: 11.88 kB / 0.9596 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.536, allocations: 162.9 kB / 0.9598 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.537, allocations: 0.5125 MB / 0.9603 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.5378, allocations: 444.4 kB / 0.9607 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.5384, allocations: 0.581 MB / 0.9613 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.5387, allocations: 140.7 kB / 0.9614 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.5395, allocations: 498.2 kB / 0.9619 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.5397, allocations: 151.3 kB / 0.962 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.5397, allocations: 12 kB / 0.962 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.5404, allocations: 0.565 MB / 0.9626 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.5405, allocations: 79.72 kB / 0.9626 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.5406, allocations: 95.48 kB / 0.9627 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.5411, allocations: 485.3 kB / 0.9632 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5411, allocations: 3.984 kB / 0.9632 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5411, allocations: 7.938 kB / 0.9632 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5411, allocations: 0 / 0.9632 GB, free: 1.445 MB / 0.7292 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.0006321/0.5417, allocations: 0.5235 MB / 0.9637 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5418, allocations: 8.031 kB / 0.9637 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.542, allocations: 51.78 kB / 0.9638 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.5424, allocations: 252.1 kB / 0.964 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5424, allocations: 8 kB / 0.964 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.5424, allocations: 16 kB / 0.964 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.5427, allocations: 217.8 kB / 0.9643 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5427, allocations: 3.984 kB / 0.9643 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5427, allocations: 4 kB / 0.9643 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5427, allocations: 4 kB / 0.9643 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.5429, allocations: 135.8 kB / 0.9644 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.5435, allocations: 0.6212 MB / 0.965 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.5437, allocations: 78.53 kB / 0.9651 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.5438, allocations: 76.86 kB / 0.9651 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.5439, allocations: 31.97 kB / 0.9652 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.544, allocations: 46.44 kB / 0.9652 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.544, allocations: 3.938 kB / 0.9652 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004061/0.5444, allocations: 213.4 kB / 0.9654 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.5444, allocations: 55.34 kB / 0.9655 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.5445, allocations: 233.9 kB / 0.9657 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5446, allocations: 25.7 kB / 0.9657 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.5446, allocations: 152.3 kB / 0.9659 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.5447, allocations: 35.69 kB / 0.9659 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.5447, allocations: 29.72 kB / 0.9659 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.5448, allocations: 330.8 kB / 0.9663 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.5449, allocations: 44.83 kB / 0.9663 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.545, allocations: 225.6 kB / 0.9665 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.5451, allocations: 119.3 kB / 0.9666 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5451, allocations: 4.062 kB / 0.9666 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.5453, allocations: 165.4 kB / 0.9668 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5453, allocations: 4 kB / 0.9668 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5453, allocations: 0 / 0.9668 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5454, allocations: 8.031 kB / 0.9668 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.5454, allocations: 27.92 kB / 0.9668 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5454, allocations: 0 / 0.9668 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.5455, allocations: 11.98 kB / 0.9668 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5455, allocations: 4 kB / 0.9668 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001143/0.5456, allocations: 156 kB / 0.967 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001268/0.5458, allocations: 222.1 kB / 0.9672 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001268/0.5459, allocations: 123.3 kB / 0.9673 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.82e-07/0.5459, allocations: 0 / 0.9673 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001705/0.5461, allocations: 153.4 kB / 0.9675 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.5461, allocations: 7.984 kB / 0.9675 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.5461, allocations: 192 / 0.9675 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-06/0.5461, allocations: 4 kB / 0.9675 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.5461, allocations: 27.95 kB / 0.9675 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.5461, allocations: 3.938 kB / 0.9675 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.5462, allocations: 15.98 kB / 0.9675 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5462, allocations: 11.94 kB / 0.9675 GB, free: 12.69 MB / 0.7448 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 7.801e-05/0.5463, allocations: 188.2 kB / 0.9677 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.5463, allocations: 19.86 kB / 0.9677 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.5465, allocations: 163.2 kB / 0.9679 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5465, allocations: 7.938 kB / 0.9679 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5465, allocations: 0 / 0.9679 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5465, allocations: 4.234 kB / 0.9679 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.547, allocations: 0.5154 MB / 0.9684 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.547, allocations: 224 / 0.9684 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.5471, allocations: 31.92 kB / 0.9684 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5471, allocations: 0 / 0.9684 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5471, allocations: 4 kB / 0.9684 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5471, allocations: 4 kB / 0.9684 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5471, allocations: 0 / 0.9684 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.5475, allocations: 297.2 kB / 0.9687 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.5475, allocations: 31.84 kB / 0.9688 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.5475, allocations: 4 kB / 0.9688 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.5476, allocations: 20.05 kB / 0.9688 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5477, allocations: 15.92 kB / 0.9688 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.5477, allocations: 7.938 kB / 0.9688 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.5478, allocations: 169.2 kB / 0.969 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5478, allocations: 0 / 0.969 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002994/0.548, allocations: 107.7 kB / 0.9691 GB, free: 11.01 MB / 0.7448 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.0001914/0.5482, allocations: 146.3 kB / 0.9692 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.5485, allocations: 163.7 kB / 0.9694 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5485, allocations: 192 / 0.9694 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.5486, allocations: 63.89 kB / 0.9694 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.549, allocations: 85.52 kB / 0.9695 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.5495, allocations: 470.8 kB / 0.97 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.944e-05/0.5496, allocations: 146.9 kB / 0.9701 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.5496, allocations: 23.44 kB / 0.9701 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.5496, allocations: 0 / 0.9701 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.004022/0.5536, allocations: 3.498 MB / 0.9735 GB, free: 6.383 MB / 0.7448 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: 5.83846164913848] Failed to read output from testmodel.py, exit status != 0: 0.5590360737405717 0.566569564 0.023847954 Calling exit ...