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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 190.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251 MB, free: 13.03 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.9006/0.9006, allocations: 134 MB / 440.3 MB, free: 252 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 73.73 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1856, allocations: 84.72 MB / 0.6935 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0184/0.204, allocations: 15.31 MB / 0.7084 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006284/0.2103, allocations: 3.915 MB / 0.7122 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.2108, allocations: 27.75 kB / 0.7123 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.2114, allocations: 198.7 kB / 0.7124 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.2132, allocations: 0.7154 MB / 0.7131 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.2146, allocations: 0.492 MB / 0.7136 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.2162, allocations: 1.103 MB / 0.7147 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.2166, allocations: 238.2 kB / 0.7149 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.2173, allocations: 426.4 kB / 0.7153 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.2176, allocations: 274.8 kB / 0.7156 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.2177, allocations: 20 kB / 0.7156 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.2189, allocations: 0.7329 MB / 0.7163 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.219, allocations: 71.64 kB / 0.7164 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.2192, allocations: 194.9 kB / 0.7166 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.2203, allocations: 0.7239 MB / 0.7173 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2203, allocations: 0 / 0.7173 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2203, allocations: 7.875 kB / 0.7173 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2203, allocations: 0 / 0.7173 GB, free: 0.5234 MB / 0.5294 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.001193/0.2215, allocations: 0.6887 MB / 0.718 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2215, allocations: 12.03 kB / 0.718 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.2216, allocations: 44.66 kB / 0.718 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2227, allocations: 462.2 kB / 0.7185 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2227, allocations: 12.33 kB / 0.7185 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.2227, allocations: 16 kB / 0.7185 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2231, allocations: 180.2 kB / 0.7187 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2231, allocations: 0 / 0.7187 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.2232, allocations: 4 kB / 0.7187 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2232, allocations: 4 kB / 0.7187 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.2235, allocations: 144 kB / 0.7188 GB, free: 14.91 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.001231/0.2248, allocations: 0.8287 MB / 0.7196 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.225, allocations: 114.7 kB / 0.7197 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2252, allocations: 76.67 kB / 0.7198 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.2254, allocations: 31.98 kB / 0.7198 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.2254, allocations: 30.56 kB / 0.7199 GB, free: 13.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.2254, allocations: 0 / 0.7199 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006204/0.226, allocations: 224.4 kB / 0.7201 GB, free: 13.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2261, allocations: 55.39 kB / 0.7201 GB, free: 13.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.2264, allocations: 349.7 kB / 0.7205 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2265, allocations: 25.7 kB / 0.7205 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2266, allocations: 196.3 kB / 0.7207 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.2266, allocations: 39.67 kB / 0.7207 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.2267, allocations: 41.66 kB / 0.7208 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2269, allocations: 342.8 kB / 0.7211 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.227, allocations: 52.75 kB / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.2272, allocations: 88.25 kB / 0.7212 GB, free: 12.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2275, allocations: 113.7 kB / 0.7213 GB, free: 12.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2275, allocations: 4 kB / 0.7213 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004008/0.2279, allocations: 189.2 kB / 0.7215 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2279, allocations: 8 kB / 0.7215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2279, allocations: 0 / 0.7215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2279, allocations: 0 / 0.7215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2281, allocations: 23.98 kB / 0.7215 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2281, allocations: 4 kB / 0.7215 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2283, allocations: 27.86 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2283, allocations: 8 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000228/0.2285, allocations: 152.1 kB / 0.7217 GB, free: 11.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001714/0.2287, allocations: 88.19 kB / 0.7218 GB, free: 11.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002643/0.229, allocations: 121.6 kB / 0.7219 GB, free: 11.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.229, allocations: 0 / 0.7219 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003699/0.2293, allocations: 173.3 kB / 0.7221 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.2293, allocations: 4 kB / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.2293, allocations: 0 / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-06/0.2293, allocations: 0 / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2295, allocations: 31.92 kB / 0.7221 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-06/0.2295, allocations: 0 / 0.7221 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.2296, allocations: 27.92 kB / 0.7221 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2297, allocations: 4.094 kB / 0.7221 GB, free: 11.27 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.0001404/0.2298, allocations: 190.2 kB / 0.7223 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.2299, allocations: 43.88 kB / 0.7224 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.2304, allocations: 239.4 kB / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2304, allocations: 0 / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2304, allocations: 4 kB / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2304, allocations: 0 / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.2314, allocations: 0.6013 MB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2314, allocations: 8.031 kB / 0.7232 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.2315, allocations: 23.98 kB / 0.7232 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2315, allocations: 4 kB / 0.7232 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2315, allocations: 4 kB / 0.7232 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2315, allocations: 4 kB / 0.7232 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2315, allocations: 3.984 kB / 0.7232 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.232, allocations: 331.5 kB / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2321, allocations: 51.73 kB / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.2321, allocations: 0 / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2323, allocations: 11.98 kB / 0.7236 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2324, allocations: 15.98 kB / 0.7236 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2324, allocations: 19.98 kB / 0.7236 GB, free: 9.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000258/0.2327, allocations: 243.2 kB / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2327, allocations: 0 / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006106/0.2333, allocations: 195.4 kB / 0.7241 GB, free: 9.223 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.0005948/0.2339, allocations: 252.7 kB / 0.7243 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.2344, allocations: 179.8 kB / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2344, allocations: 0 / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.2346, allocations: 75.89 kB / 0.7246 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.2354, allocations: 143.9 kB / 0.7247 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.2363, allocations: 0.571 MB / 0.7252 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.2367, allocations: 0.7996 MB / 0.726 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.2369, allocations: 74.27 kB / 0.7261 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.237, allocations: 39.42 kB / 0.7261 GB, free: 7.039 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.237, allocations: 4 kB / 0.7261 GB, free: 7.035 MB / 0.545 GB Notification: Performance of Templates: time 0.01484/0.2519, allocations: 6.707 MB / 0.7327 GB, free: 448 kB / 0.545 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: 5.877732582390308] Failed to read output from testmodel.py, exit status != 0: 0.2604184662923217 0.27685440799999994 0.05315041 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd18a5c57b0>