Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.0009822/0.0009822, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001764/0.001764, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.012/1.012, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.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-535:34: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-535:42: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.8267/0.8267, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 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 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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.815e-05, allocations: 3.531 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.006606/0.006624, allocations: 7.024 MB / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.01028, allocations: 2.886 MB / 490.3 MB, free: 12.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.01058, allocations: 31.75 kB / 490.3 MB, free: 12.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.01097, allocations: 119 kB / 490.4 MB, free: 12.53 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009331/0.0119, allocations: 0.5385 MB / 491 MB, free: 11.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.0128, allocations: 0.5009 MB / 491.5 MB, free: 11.5 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.01389, allocations: 1.102 MB / 492.6 MB, free: 10.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.01422, allocations: 241.2 kB / 492.8 MB, free: 10.15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.01482, allocations: 0.5706 MB / 493.4 MB, free: 9.578 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.01503, allocations: 197.1 kB / 493.6 MB, free: 9.387 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.01506, allocations: 16 kB / 493.6 MB, free: 9.371 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.01561, allocations: 383.2 kB / 494 MB, free: 8.996 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.01569, allocations: 67.69 kB / 494 MB, free: 8.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.01578, allocations: 112.4 kB / 494.1 MB, free: 8.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.01633, allocations: 462.3 kB / 494.6 MB, free: 8.367 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.01634, allocations: 0.5312 kB / 494.6 MB, free: 8.367 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01634, allocations: 2.344 kB / 494.6 MB, free: 8.367 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01634, allocations: 0 / 494.6 MB, free: 8.367 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006181/0.01696, allocations: 0.596 MB / 495.2 MB, free: 7.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.017, allocations: 16.02 kB / 495.2 MB, free: 7.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.01706, allocations: 44.84 kB / 495.3 MB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.0175, allocations: 352.2 kB / 495.6 MB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.01752, allocations: 13.8 kB / 495.6 MB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.01754, allocations: 27.94 kB / 495.6 MB, free: 7.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.01775, allocations: 161.9 kB / 495.8 MB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.01776, allocations: 0 / 495.8 MB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01777, allocations: 4 kB / 495.8 MB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01778, allocations: 4 kB / 495.8 MB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.01784, allocations: 41.31 kB / 495.8 MB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.01837, allocations: 381.6 kB / 496.2 MB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.01848, allocations: 105.3 kB / 496.3 MB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.01851, allocations: 32.52 kB / 496.4 MB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.01859, allocations: 19.97 kB / 496.4 MB, free: 6.516 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01861, allocations: 35.09 kB / 496.4 MB, free: 6.473 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 2.033e-06/0.01862, allocations: 0.8125 kB / 496.4 MB, free: 6.473 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001652/0.01878, allocations: 93.31 kB / 496.5 MB, free: 6.379 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.0188, allocations: 60.73 kB / 496.6 MB, free: 6.309 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.01898, allocations: 303.4 kB / 496.9 MB, free: 6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.01899, allocations: 25.7 kB / 496.9 MB, free: 5.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.01906, allocations: 157.4 kB / 497 MB, free: 5.812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.01909, allocations: 48.48 kB / 497.1 MB, free: 5.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.01913, allocations: 33.7 kB / 497.1 MB, free: 5.727 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.01922, allocations: 355.9 kB / 497.5 MB, free: 5.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.01925, allocations: 15.69 kB / 497.5 MB, free: 5.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.01934, allocations: 202.5 kB / 497.7 MB, free: 5.102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.0194, allocations: 54.11 kB / 497.7 MB, free: 5.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.0194, allocations: 0.5625 kB / 497.7 MB, free: 5.039 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001045/0.01951, allocations: 99.61 kB / 497.8 MB, free: 4.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01952, allocations: 4 kB / 497.8 MB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01952, allocations: 0 / 497.8 MB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01953, allocations: 2.031 kB / 497.8 MB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.01962, allocations: 23.98 kB / 497.9 MB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.01962, allocations: 0 / 497.9 MB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.01968, allocations: 15.95 kB / 497.9 MB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.0197, allocations: 15.91 kB / 497.9 MB, free: 4.879 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.673e-05/0.01976, allocations: 106.4 kB / 498 MB, free: 4.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.885e-05/0.01984, allocations: 198.5 kB / 498.2 MB, free: 4.523 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.681e-05/0.01989, allocations: 51.86 kB / 498.2 MB, free: 4.465 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.5e-07/0.01989, allocations: 0 / 498.2 MB, free: 4.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 8.756e-05/0.01998, allocations: 96.08 kB / 498.3 MB, free: 4.363 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.01998, allocations: 8 kB / 498.3 MB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.01998, allocations: 1.594 kB / 498.3 MB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.01998, allocations: 0 / 498.3 MB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.02004, allocations: 28.05 kB / 498.4 MB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-06/0.02004, allocations: 0 / 498.4 MB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.02009, allocations: 16.59 kB / 498.4 MB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.02009, allocations: 5.031 kB / 498.4 MB, free: 4.309 MB / 458.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 (12): * Single equations (assignments): 12 * 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.311e-05/0.02017, allocations: 188.2 kB / 498.6 MB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.0202, allocations: 25.03 kB / 498.6 MB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.02039, allocations: 130.4 kB / 498.7 MB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.02039, allocations: 0 / 498.7 MB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.02039, allocations: 8.484 kB / 498.7 MB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.0204, allocations: 0 / 498.7 MB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.02077, allocations: 462.4 kB / 499.2 MB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.02078, allocations: 2.734 kB / 499.2 MB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.02083, allocations: 27.92 kB / 499.2 MB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.02083, allocations: 0 / 499.2 MB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.02084, allocations: 9.438 kB / 499.2 MB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.02084, allocations: 0 / 499.2 MB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.02085, allocations: 7.938 kB / 499.2 MB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.021, allocations: 269.2 kB / 499.5 MB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.02105, allocations: 48.83 kB / 499.5 MB, free: 3.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.02107, allocations: 4 kB / 499.5 MB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.02113, allocations: 4.938 kB / 499.5 MB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.02117, allocations: 15.92 kB / 499.6 MB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.02118, allocations: 7.984 kB / 499.6 MB, free: 3.051 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.02125, allocations: 126.1 kB / 499.7 MB, free: 2.926 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02125, allocations: 0 / 499.7 MB, free: 2.926 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.02152, allocations: 139.6 kB / 499.8 MB, free: 2.789 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002041/0.02172, allocations: 137.8 kB / 500 MB, free: 2.652 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.02186, allocations: 86.17 kB / 0.4883 GB, free: 2.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.02187, allocations: 4 kB / 0.4883 GB, free: 2.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.02192, allocations: 40.75 kB / 0.4884 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.02231, allocations: 139.8 kB / 0.4885 GB, free: 2.398 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.02307, allocations: 0.5668 MB / 0.4891 GB, free: 1.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.02313, allocations: 97.3 kB / 0.4892 GB, free: 1.684 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.02326, allocations: 50.59 kB / 0.4892 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.02346, allocations: 159.2 kB / 0.4894 GB, free: 1.488 MB / 458.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02347, allocations: 5.719 kB / 0.4894 GB, free: 1.484 MB / 458.7 MB Notification: Performance of Templates: time 0.008358/0.03182, allocations: 5.764 MB / 0.495 GB, free: 12.16 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.769764264114201]