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.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.001488/0.001488, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001506/0.001506, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.089/1.089, allocations: 175.7 MB / 479.1 MB, free: 3.402 MB / 366.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-master/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_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 0.00195/0.00195, allocations: 64.39 kB / 0.6663 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 94.55 MB / 0.7587 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01852/0.2027, allocations: 15.16 MB / 0.7735 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00622/0.2089, allocations: 3.892 MB / 0.7773 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.2094, allocations: 23.88 kB / 0.7773 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.2101, allocations: 186.7 kB / 0.7775 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.2118, allocations: 0.7037 MB / 0.7782 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2132, allocations: 481.8 kB / 0.7786 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.2148, allocations: 1.076 MB / 0.7797 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.2153, allocations: 249.4 kB / 0.7799 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.2161, allocations: 478.2 kB / 0.7804 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.2166, allocations: 262.8 kB / 0.7806 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.2166, allocations: 23.94 kB / 0.7806 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2179, allocations: 0.7096 MB / 0.7813 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.218, allocations: 87.61 kB / 0.7814 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2182, allocations: 187 kB / 0.7816 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2193, allocations: 0.7161 MB / 0.7823 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2193, allocations: 4 kB / 0.7823 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2193, allocations: 4 kB / 0.7823 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.2193, allocations: 0 / 0.7823 GB, free: 8.801 MB / 0.5919 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.001302/0.2206, allocations: 0.7582 MB / 0.783 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2206, allocations: 16.02 kB / 0.7831 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.2207, allocations: 48.66 kB / 0.7831 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.2218, allocations: 0.517 MB / 0.7836 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2218, allocations: 12.33 kB / 0.7836 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2219, allocations: 23.98 kB / 0.7836 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.2223, allocations: 176.2 kB / 0.7838 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2223, allocations: 4 kB / 0.7838 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2223, allocations: 4 kB / 0.7838 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2223, allocations: 4 kB / 0.7838 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.2227, allocations: 144.1 kB / 0.784 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2239, allocations: 0.8568 MB / 0.7848 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2242, allocations: 114.6 kB / 0.7849 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2244, allocations: 72.69 kB / 0.785 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.2247, allocations: 336.4 kB / 0.7853 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.2247, allocations: 46.5 kB / 0.7853 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2247, allocations: 0 / 0.7853 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0005918/0.2253, allocations: 213.3 kB / 0.7855 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2253, allocations: 51.41 kB / 0.7856 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.2257, allocations: 349.7 kB / 0.7859 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2258, allocations: 25.7 kB / 0.7859 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2259, allocations: 196.5 kB / 0.7861 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.2259, allocations: 47.55 kB / 0.7862 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.226, allocations: 37.66 kB / 0.7862 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2262, allocations: 342.8 kB / 0.7865 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2263, allocations: 52.81 kB / 0.7866 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2265, allocations: 92.19 kB / 0.7867 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.2268, allocations: 121.6 kB / 0.7868 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2268, allocations: 0 / 0.7868 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000394/0.2272, allocations: 173.3 kB / 0.787 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2272, allocations: 6.188 kB / 0.787 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2272, allocations: 8 kB / 0.787 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2272, allocations: 0 / 0.787 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2274, allocations: 31.92 kB / 0.787 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2274, allocations: 0 / 0.787 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.2276, allocations: 19.92 kB / 0.787 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.2276, allocations: 4 kB / 0.787 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002416/0.2278, allocations: 156.1 kB / 0.7872 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001969/0.228, allocations: 88.25 kB / 0.7873 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002692/0.2283, allocations: 117.6 kB / 0.7874 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.2283, allocations: 0 / 0.7874 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003726/0.2287, allocations: 173.4 kB / 0.7875 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/0.2287, allocations: 12.09 kB / 0.7875 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.2287, allocations: 7.875 kB / 0.7876 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-06/0.2287, allocations: 0 / 0.7876 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2288, allocations: 24.11 kB / 0.7876 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.2288, allocations: 3.938 kB / 0.7876 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.229, allocations: 23.92 kB / 0.7876 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.229, allocations: 12.08 kB / 0.7876 GB, free: 2.941 MB / 0.5919 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.0001177/0.2291, allocations: 184.3 kB / 0.7878 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.2292, allocations: 47.69 kB / 0.7878 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.2297, allocations: 227.2 kB / 0.7881 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2297, allocations: 0 / 0.7881 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2297, allocations: 7.938 kB / 0.7881 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2297, allocations: 0 / 0.7881 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.2306, allocations: 0.6319 MB / 0.7887 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2307, allocations: 0 / 0.7887 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2308, allocations: 27.92 kB / 0.7887 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2308, allocations: 3.984 kB / 0.7887 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2308, allocations: 8 kB / 0.7887 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2308, allocations: 0 / 0.7887 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2308, allocations: 4 kB / 0.7887 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.2313, allocations: 325.7 kB / 0.789 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2314, allocations: 128.8 kB / 0.7892 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2315, allocations: 0 / 0.7892 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2317, allocations: 23.97 kB / 0.7892 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2318, allocations: 7.938 kB / 0.7892 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2318, allocations: 15.92 kB / 0.7892 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002719/0.232, allocations: 247.1 kB / 0.7894 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.232, allocations: 0 / 0.7894 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005966/0.2326, allocations: 195.4 kB / 0.7896 GB, free: 0.7695 MB / 0.5919 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.0005527/0.2332, allocations: 245 kB / 0.7899 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.2337, allocations: 179.8 kB / 0.79 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2337, allocations: 0 / 0.79 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.2339, allocations: 80.08 kB / 0.7901 GB, free: 276 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.2347, allocations: 147.9 kB / 0.7902 GB, free: 132 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.2357, allocations: 0.5993 MB / 0.7908 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.2361, allocations: 0.7918 MB / 0.7916 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.2362, allocations: 31.44 kB / 0.7916 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2362, allocations: 0 / 0.7916 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.009543/0.2457, allocations: 5.825 MB / 0.7973 GB, free: 8.867 MB / 0.6075 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.031998531892896] Failed to read output from testmodel.py, exit status != 0: 0.25298922508955 0.26630966 0.044035478 Calling exit ...