Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001539/0.001539, 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.001884/0.001884, allocations: 210.7 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8714/0.8714, allocations: 134 MB / 446.4 MB, free: 10.38 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") [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.002175/0.002175, allocations: 66.7 kB / 0.619 GB, free: 6.406 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2022, allocations: 85.91 MB / 0.7029 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01892/0.2212, allocations: 14.06 MB / 0.7166 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006459/0.2276, allocations: 3.623 MB / 0.7201 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.2282, allocations: 31.75 kB / 0.7202 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.2288, allocations: 182.7 kB / 0.7203 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.2307, allocations: 0.7154 MB / 0.721 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.2321, allocations: 0.4896 MB / 0.7215 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.2338, allocations: 1.118 MB / 0.7226 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.2343, allocations: 241.8 kB / 0.7228 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009703/0.2352, allocations: 0.51 MB / 0.7233 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.2356, allocations: 238.8 kB / 0.7235 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.2356, allocations: 16 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009088/0.2366, allocations: 435.2 kB / 0.724 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2367, allocations: 63.69 kB / 0.724 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2368, allocations: 139.2 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.2378, allocations: 0.572 MB / 0.7247 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2378, allocations: 0 / 0.7247 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2378, allocations: 0 / 0.7247 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.2378, allocations: 0 / 0.7247 GB, free: 10.1 MB / 0.545 GB 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.001148/0.239, allocations: 0.6441 MB / 0.7254 GB, free: 9.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.239, allocations: 8.031 kB / 0.7254 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.2391, allocations: 48.66 kB / 0.7254 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.24, allocations: 371.7 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.24, allocations: 16.33 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2401, allocations: 20 kB / 0.7258 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2405, allocations: 205.8 kB / 0.726 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2405, allocations: 0 / 0.726 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2405, allocations: 4 kB / 0.726 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2405, allocations: 4 kB / 0.726 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.2409, allocations: 144.1 kB / 0.7261 GB, free: 8.578 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.242, allocations: 0.5315 MB / 0.7267 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2423, allocations: 114.6 kB / 0.7268 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.2424, allocations: 72.8 kB / 0.7268 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.2426, allocations: 31.97 kB / 0.7269 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2426, allocations: 38.5 kB / 0.7269 GB, free: 7.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.2426, allocations: 4 kB / 0.7269 GB, free: 7.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005715/0.2432, allocations: 209.3 kB / 0.7271 GB, free: 7.527 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2433, allocations: 51.41 kB / 0.7272 GB, free: 7.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.2436, allocations: 313.7 kB / 0.7275 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.2436, allocations: 33.7 kB / 0.7275 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2438, allocations: 196.3 kB / 0.7277 GB, free: 6.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.2438, allocations: 47.64 kB / 0.7277 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.2439, allocations: 29.72 kB / 0.7278 GB, free: 6.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2441, allocations: 346.8 kB / 0.7281 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2442, allocations: 48.83 kB / 0.7281 GB, free: 6.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2445, allocations: 242.5 kB / 0.7284 GB, free: 6.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.2448, allocations: 113.6 kB / 0.7285 GB, free: 6.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2448, allocations: 0 / 0.7285 GB, free: 6.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003887/0.2452, allocations: 181.2 kB / 0.7286 GB, free: 5.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2452, allocations: 8 kB / 0.7287 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2452, allocations: 64 / 0.7287 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2452, allocations: 7.984 kB / 0.7287 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2454, allocations: 23.98 kB / 0.7287 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2454, allocations: 0 / 0.7287 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.2455, allocations: 23.88 kB / 0.7287 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2455, allocations: 4 kB / 0.7287 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002394/0.2458, allocations: 160 kB / 0.7289 GB, free: 5.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003518/0.2461, allocations: 245.7 kB / 0.7291 GB, free: 5.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002683/0.2464, allocations: 113.6 kB / 0.7292 GB, free: 5.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.2464, allocations: 0 / 0.7292 GB, free: 5.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003573/0.2468, allocations: 169.4 kB / 0.7294 GB, free: 5.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2468, allocations: 11.94 kB / 0.7294 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.2468, allocations: 0 / 0.7294 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/0.2468, allocations: 0 / 0.7294 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2469, allocations: 31.92 kB / 0.7294 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.2469, allocations: 0 / 0.7294 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.247, allocations: 11.98 kB / 0.7294 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.247, allocations: 8 kB / 0.7294 GB, free: 4.98 MB / 0.545 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 (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 0.0001313/0.2472, allocations: 188.2 kB / 0.7296 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.2472, allocations: 39.7 kB / 0.7296 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.2477, allocations: 228.6 kB / 0.7299 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2478, allocations: 4.078 kB / 0.7299 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2478, allocations: 4 kB / 0.7299 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2478, allocations: 3.984 kB / 0.7299 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.2487, allocations: 0.5433 MB / 0.7304 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2487, allocations: 4 kB / 0.7304 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2488, allocations: 23.98 kB / 0.7304 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2488, allocations: 0 / 0.7304 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2488, allocations: 7.984 kB / 0.7304 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2488, allocations: 4.094 kB / 0.7304 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2488, allocations: 0 / 0.7304 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.2493, allocations: 329.6 kB / 0.7308 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.2494, allocations: 43.75 kB / 0.7308 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2495, allocations: 7.984 kB / 0.7308 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2496, allocations: 8 kB / 0.7308 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.2497, allocations: 11.97 kB / 0.7308 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2497, allocations: 8 kB / 0.7308 GB, free: 3.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002331/0.2499, allocations: 231.2 kB / 0.7311 GB, free: 3.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2499, allocations: 0 / 0.7311 GB, free: 3.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005378/0.2504, allocations: 151.5 kB / 0.7312 GB, free: 3.082 MB / 0.545 GB 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.0003444/0.2508, allocations: 180.5 kB / 0.7314 GB, free: 2.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.2513, allocations: 182 kB / 0.7315 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2513, allocations: 4 kB / 0.7315 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.2515, allocations: 75.83 kB / 0.7316 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.2523, allocations: 144.1 kB / 0.7318 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.2532, allocations: 0.5711 MB / 0.7323 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2535, allocations: 193 kB / 0.7325 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000219/0.2537, allocations: 73.41 kB / 0.7326 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2537, allocations: 31.44 kB / 0.7326 GB, free: 1.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2537, allocations: 0 / 0.7326 GB, free: 1.59 MB / 0.545 GB Notification: Performance of Templates: time 0.01327/0.267, allocations: 6.118 MB / 0.7386 GB, free: 11.63 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.504414448514581] Failed to read output from testmodel.py, exit status != 0: 0.2754133902490139 0.65944345 0.41761558800000004 Calling exit ...