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.001308/0.001308, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001451/0.001451, allocations: 217.5 kB / 22.99 MB, free: 4.914 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8469/0.8469, allocations: 134 MB / 447.2 MB, free: 9.926 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.002028/0.002028, allocations: 64.38 kB / 0.6197 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1665, allocations: 85.92 MB / 0.7036 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01778/0.1843, allocations: 14.07 MB / 0.7173 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006367/0.1906, allocations: 3.623 MB / 0.7209 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.1912, allocations: 27.81 kB / 0.7209 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.1918, allocations: 178.7 kB / 0.7211 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.1938, allocations: 0.7115 MB / 0.7218 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1952, allocations: 497.2 kB / 0.7222 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.1969, allocations: 1.118 MB / 0.7233 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.1973, allocations: 245.7 kB / 0.7236 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009639/0.1983, allocations: 0.5062 MB / 0.7241 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.1987, allocations: 238.8 kB / 0.7243 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1987, allocations: 16 kB / 0.7243 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.1996, allocations: 427.2 kB / 0.7247 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1997, allocations: 71.58 kB / 0.7248 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1999, allocations: 143.3 kB / 0.7249 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.201, allocations: 0.5681 MB / 0.7255 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.201, allocations: 0 / 0.7255 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.201, allocations: 7.938 kB / 0.7255 GB, free: 10.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.201, allocations: 0 / 0.7255 GB, free: 10.07 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.001167/0.2022, allocations: 0.6402 MB / 0.7261 GB, free: 9.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2022, allocations: 8.031 kB / 0.7261 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2023, allocations: 44.66 kB / 0.7261 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.2032, allocations: 371.7 kB / 0.7265 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2032, allocations: 16.31 kB / 0.7265 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.2033, allocations: 20 kB / 0.7265 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.2037, allocations: 209.8 kB / 0.7267 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2037, allocations: 3.938 kB / 0.7267 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2037, allocations: 8 kB / 0.7267 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.2037, allocations: 4 kB / 0.7268 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.204, allocations: 136.2 kB / 0.7269 GB, free: 8.555 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.001018/0.2051, allocations: 0.5354 MB / 0.7274 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.2053, allocations: 110.6 kB / 0.7275 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2055, allocations: 72.75 kB / 0.7276 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.2057, allocations: 27.98 kB / 0.7276 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.2057, allocations: 38.5 kB / 0.7276 GB, free: 7.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2057, allocations: 0 / 0.7276 GB, free: 7.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006123/0.2063, allocations: 217.3 kB / 0.7278 GB, free: 7.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.2064, allocations: 55.41 kB / 0.7279 GB, free: 7.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.2067, allocations: 309.7 kB / 0.7282 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2067, allocations: 29.7 kB / 0.7282 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2069, allocations: 192.4 kB / 0.7284 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.2069, allocations: 47.58 kB / 0.7285 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.207, allocations: 33.7 kB / 0.7285 GB, free: 6.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.2072, allocations: 338.8 kB / 0.7288 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2073, allocations: 56.81 kB / 0.7289 GB, free: 6.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2076, allocations: 246.5 kB / 0.7291 GB, free: 6.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2079, allocations: 117.6 kB / 0.7292 GB, free: 6.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2079, allocations: 0 / 0.7292 GB, free: 6.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003827/0.2083, allocations: 169.3 kB / 0.7294 GB, free: 5.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2083, allocations: 8 kB / 0.7294 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2083, allocations: 0 / 0.7294 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2083, allocations: 4.094 kB / 0.7294 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2085, allocations: 31.92 kB / 0.7294 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2085, allocations: 3.984 kB / 0.7294 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2086, allocations: 15.89 kB / 0.7294 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2086, allocations: 7.984 kB / 0.7294 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002458/0.2089, allocations: 156 kB / 0.7296 GB, free: 5.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002596/0.2092, allocations: 245.4 kB / 0.7298 GB, free: 5.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002598/0.2094, allocations: 117.7 kB / 0.7299 GB, free: 5.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.2094, allocations: 0 / 0.7299 GB, free: 5.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003602/0.2098, allocations: 169.3 kB / 0.7301 GB, free: 5.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2098, allocations: 11.92 kB / 0.7301 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2098, allocations: 7.938 kB / 0.7301 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.2098, allocations: 0 / 0.7301 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2099, allocations: 23.98 kB / 0.7301 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.2099, allocations: 0 / 0.7301 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.21, allocations: 19.98 kB / 0.7302 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.21, allocations: 4 kB / 0.7302 GB, free: 4.957 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.0001324/0.2102, allocations: 188.2 kB / 0.7303 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.2102, allocations: 39.7 kB / 0.7304 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.2108, allocations: 231.3 kB / 0.7306 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2108, allocations: 4 kB / 0.7306 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2108, allocations: 0 / 0.7306 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2108, allocations: 4 kB / 0.7306 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.2118, allocations: 0.5472 MB / 0.7311 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2118, allocations: 0 / 0.7311 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2119, allocations: 23.98 kB / 0.7312 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2119, allocations: 4 kB / 0.7312 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2119, allocations: 4 kB / 0.7312 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2119, allocations: 4 kB / 0.7312 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2119, allocations: 96 / 0.7312 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.2124, allocations: 329.6 kB / 0.7315 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2125, allocations: 43.75 kB / 0.7315 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.2125, allocations: 12.06 kB / 0.7315 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2127, allocations: 7.984 kB / 0.7316 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2127, allocations: 11.98 kB / 0.7316 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2128, allocations: 7.984 kB / 0.7316 GB, free: 3.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002302/0.213, allocations: 223.1 kB / 0.7318 GB, free: 3.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.213, allocations: 0 / 0.7318 GB, free: 3.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005478/0.2135, allocations: 167.5 kB / 0.7319 GB, free: 3.051 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.000348/0.2139, allocations: 186.5 kB / 0.7321 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.2144, allocations: 179.8 kB / 0.7323 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2144, allocations: 4 kB / 0.7323 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2146, allocations: 75.89 kB / 0.7324 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.2154, allocations: 134 kB / 0.7325 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/0.2163, allocations: 0.5885 MB / 0.7331 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2165, allocations: 193 kB / 0.7333 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.2166, allocations: 27.44 kB / 0.7333 GB, free: 1.613 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.2166, allocations: 0 / 0.7333 GB, free: 1.613 MB / 0.545 GB Notification: Performance of Templates: time 0.009291/0.2259, allocations: 5.36 MB / 0.7385 GB, free: 12.32 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: 8.813237618189305] Failed to read output from testmodel.py, exit status != 0: 0.23399376217275858 0.522242339 0.046158197000000005 Calling exit ...