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.001959/0.001959, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002329/0.002329, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8614/0.8614, allocations: 134 MB / 447.2 MB, free: 10.23 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.002025/0.002025, allocations: 70.66 kB / 0.6198 GB, free: 6.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1579, allocations: 85.91 MB / 0.7037 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02132/0.1793, allocations: 15.42 MB / 0.7187 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006731/0.186, allocations: 3.954 MB / 0.7226 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.1866, allocations: 27.75 kB / 0.7226 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.1873, allocations: 182.7 kB / 0.7228 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1895, allocations: 0.7309 MB / 0.7235 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.191, allocations: 0.4943 MB / 0.724 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.1929, allocations: 1.118 MB / 0.7251 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.1934, allocations: 239.8 kB / 0.7253 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009003/0.1943, allocations: 422.4 kB / 0.7257 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.1948, allocations: 278.7 kB / 0.726 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.1949, allocations: 24 kB / 0.726 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.1964, allocations: 0.7407 MB / 0.7267 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1965, allocations: 75.67 kB / 0.7268 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.1968, allocations: 195 kB / 0.727 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.1981, allocations: 0.7395 MB / 0.7277 GB, free: 8.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1981, allocations: 0 / 0.7277 GB, free: 8.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1981, allocations: 0 / 0.7277 GB, free: 8.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.1982, allocations: 0 / 0.7277 GB, free: 8.227 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.001349/0.1995, allocations: 0.6931 MB / 0.7284 GB, free: 7.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1995, allocations: 12.03 kB / 0.7284 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1997, allocations: 44.66 kB / 0.7284 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2008, allocations: 458.3 kB / 0.7289 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2008, allocations: 16.33 kB / 0.7289 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.2009, allocations: 16 kB / 0.7289 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2013, allocations: 176.1 kB / 0.7291 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2013, allocations: 4 kB / 0.7291 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2013, allocations: 4 kB / 0.7291 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2013, allocations: 4 kB / 0.7291 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.2017, allocations: 144.2 kB / 0.7292 GB, free: 6.613 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.001322/0.203, allocations: 0.8253 MB / 0.73 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.2033, allocations: 114.6 kB / 0.7301 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.2034, allocations: 72.75 kB / 0.7302 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.2036, allocations: 31.97 kB / 0.7302 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2036, allocations: 34.56 kB / 0.7302 GB, free: 5.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.2036, allocations: 0 / 0.7302 GB, free: 5.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006273/0.2042, allocations: 227.5 kB / 0.7305 GB, free: 5.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2043, allocations: 51.41 kB / 0.7305 GB, free: 5.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.2047, allocations: 349.6 kB / 0.7308 GB, free: 4.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2047, allocations: 29.7 kB / 0.7309 GB, free: 4.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.2049, allocations: 192.4 kB / 0.7311 GB, free: 4.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.205, allocations: 51.56 kB / 0.7311 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.205, allocations: 29.72 kB / 0.7311 GB, free: 4.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2052, allocations: 346.8 kB / 0.7315 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2054, allocations: 48.83 kB / 0.7315 GB, free: 4.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2055, allocations: 92.23 kB / 0.7316 GB, free: 3.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.2058, allocations: 121.5 kB / 0.7317 GB, free: 3.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2058, allocations: 0 / 0.7317 GB, free: 3.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004143/0.2062, allocations: 181.3 kB / 0.7319 GB, free: 3.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2063, allocations: 8 kB / 0.7319 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2063, allocations: 3.984 kB / 0.7319 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2063, allocations: 0 / 0.7319 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2064, allocations: 23.98 kB / 0.7319 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2064, allocations: 3.938 kB / 0.7319 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2066, allocations: 15.98 kB / 0.7319 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.2067, allocations: 8 kB / 0.732 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002432/0.2069, allocations: 160.1 kB / 0.7321 GB, free: 3.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001638/0.2071, allocations: 84.25 kB / 0.7322 GB, free: 3.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002658/0.2073, allocations: 121.6 kB / 0.7323 GB, free: 3.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.2073, allocations: 0 / 0.7323 GB, free: 3.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003826/0.2077, allocations: 177.3 kB / 0.7325 GB, free: 3.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.2077, allocations: 4 kB / 0.7325 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.2077, allocations: 0 / 0.7325 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-06/0.2077, allocations: 0 / 0.7325 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2079, allocations: 31.97 kB / 0.7325 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-06/0.2079, allocations: 4 kB / 0.7325 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2081, allocations: 19.92 kB / 0.7325 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.2081, allocations: 4 kB / 0.7325 GB, free: 2.977 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.0001331/0.2082, allocations: 196.1 kB / 0.7327 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.2083, allocations: 43.78 kB / 0.7328 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.2088, allocations: 227.9 kB / 0.733 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2088, allocations: 0 / 0.733 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2088, allocations: 0 / 0.733 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2088, allocations: 8.078 kB / 0.733 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2099, allocations: 0.6129 MB / 0.7336 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2099, allocations: 96 / 0.7336 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.21, allocations: 27.98 kB / 0.7336 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.21, allocations: 4 kB / 0.7336 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.21, allocations: 0 / 0.7336 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.21, allocations: 7.938 kB / 0.7336 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.21, allocations: 0 / 0.7336 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.2105, allocations: 323.9 kB / 0.7339 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2106, allocations: 51.73 kB / 0.734 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2106, allocations: 0 / 0.734 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2109, allocations: 19.97 kB / 0.734 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.2109, allocations: 11.92 kB / 0.734 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2109, allocations: 11.94 kB / 0.734 GB, free: 1.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002802/0.2112, allocations: 255.2 kB / 0.7343 GB, free: 1.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 0 / 0.7343 GB, free: 1.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006509/0.2119, allocations: 195.4 kB / 0.7345 GB, free: 0.9141 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.0004741/0.2123, allocations: 234.7 kB / 0.7347 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2129, allocations: 191.8 kB / 0.7349 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2129, allocations: 0 / 0.7349 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2131, allocations: 71.89 kB / 0.7349 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/0.2139, allocations: 153 kB / 0.7351 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2149, allocations: 0.6027 MB / 0.7357 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.2154, allocations: 0.7956 MB / 0.7364 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.2155, allocations: 35.42 kB / 0.7365 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2155, allocations: 0 / 0.7365 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.01065/0.2261, allocations: 5.894 MB / 0.7422 GB, free: 8.941 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: 9.467879503965378] Failed to read output from testmodel.py, exit status != 0: 0.23441859101876616 0.5021441329999999 0.30085295199999995 Calling exit ...