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.001318/0.001318, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001341/0.001341, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.397/1.397, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] 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.163/1.163, allocations: 173.4 MB / 471.3 MB, free: 6.555 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.002121/0.002121, allocations: 69.73 kB / 0.649 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1961, allocations: 89.53 MB / 0.7364 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01868/0.2148, allocations: 15.06 MB / 0.7511 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006275/0.2212, allocations: 3.891 MB / 0.7549 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.2217, allocations: 19.94 kB / 0.7549 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.2224, allocations: 182.7 kB / 0.7551 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2243, allocations: 0.6803 MB / 0.7558 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2257, allocations: 477 kB / 0.7562 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2272, allocations: 1.072 MB / 0.7573 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.2277, allocations: 289.5 kB / 0.7575 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.2286, allocations: 458.2 kB / 0.758 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.2289, allocations: 250.8 kB / 0.7582 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.229, allocations: 28 kB / 0.7582 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.2303, allocations: 0.7135 MB / 0.7589 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2304, allocations: 79.61 kB / 0.759 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.2306, allocations: 183 kB / 0.7592 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2317, allocations: 0.7239 MB / 0.7599 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2317, allocations: 0 / 0.7599 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2317, allocations: 0 / 0.7599 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2317, allocations: 0 / 0.7599 GB, free: 11.5 MB / 0.5762 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.001198/0.2329, allocations: 0.7621 MB / 0.7606 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.233, allocations: 12.02 kB / 0.7606 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2331, allocations: 44.66 kB / 0.7607 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2341, allocations: 0.513 MB / 0.7612 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2342, allocations: 20.31 kB / 0.7612 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2342, allocations: 16 kB / 0.7612 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.2346, allocations: 180.2 kB / 0.7614 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2346, allocations: 0 / 0.7614 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2347, allocations: 4 kB / 0.7614 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2347, allocations: 8 kB / 0.7614 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.235, allocations: 136.1 kB / 0.7615 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.2362, allocations: 0.8685 MB / 0.7624 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2365, allocations: 114.6 kB / 0.7625 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.2367, allocations: 76.75 kB / 0.7626 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.2371, allocations: 336.4 kB / 0.7629 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.2371, allocations: 42.5 kB / 0.7629 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.2371, allocations: 0 / 0.7629 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006043/0.2377, allocations: 225.3 kB / 0.7631 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2378, allocations: 55.41 kB / 0.7632 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.2382, allocations: 341.7 kB / 0.7635 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2382, allocations: 29.7 kB / 0.7635 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2384, allocations: 188.5 kB / 0.7637 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.2384, allocations: 47.62 kB / 0.7638 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.2385, allocations: 41.59 kB / 0.7638 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2387, allocations: 338.8 kB / 0.7641 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2388, allocations: 60.81 kB / 0.7642 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.239, allocations: 92.19 kB / 0.7643 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.2393, allocations: 117.6 kB / 0.7644 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2393, allocations: 4 kB / 0.7644 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003909/0.2397, allocations: 177.3 kB / 0.7646 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2398, allocations: 4 kB / 0.7646 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2398, allocations: 0 / 0.7646 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2398, allocations: 4 kB / 0.7646 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2399, allocations: 27.92 kB / 0.7646 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.24, allocations: 0 / 0.7646 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2401, allocations: 27.86 kB / 0.7646 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2402, allocations: 8 kB / 0.7646 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000231/0.2404, allocations: 156.1 kB / 0.7648 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001658/0.2406, allocations: 80.91 kB / 0.7649 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002661/0.2409, allocations: 121.7 kB / 0.765 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.2409, allocations: 3.938 kB / 0.765 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003555/0.2412, allocations: 173.3 kB / 0.7651 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-06/0.2413, allocations: 8 kB / 0.7652 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.2413, allocations: 0 / 0.7652 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-06/0.2413, allocations: 0 / 0.7652 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2414, allocations: 27.98 kB / 0.7652 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/0.2414, allocations: 3.938 kB / 0.7652 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.2416, allocations: 23.91 kB / 0.7652 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.2416, allocations: 7.984 kB / 0.7652 GB, free: 5.633 MB / 0.5762 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.0001195/0.2417, allocations: 184.3 kB / 0.7654 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.2418, allocations: 43.7 kB / 0.7654 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.2423, allocations: 220.8 kB / 0.7656 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.2423, allocations: 4 kB / 0.7656 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2424, allocations: 7.938 kB / 0.7657 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2424, allocations: 4 kB / 0.7657 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.2433, allocations: 0.625 MB / 0.7663 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2433, allocations: 0 / 0.7663 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2434, allocations: 35.91 kB / 0.7663 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2434, allocations: 4.188 kB / 0.7663 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2434, allocations: 11.88 kB / 0.7663 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2434, allocations: 0 / 0.7663 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2434, allocations: 4.125 kB / 0.7663 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.2439, allocations: 323.2 kB / 0.7666 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2441, allocations: 132.9 kB / 0.7668 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.2441, allocations: 3.984 kB / 0.7668 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2443, allocations: 19.97 kB / 0.7668 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.2444, allocations: 7.938 kB / 0.7668 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.2444, allocations: 15.98 kB / 0.7668 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002637/0.2447, allocations: 243.2 kB / 0.767 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2447, allocations: 4 kB / 0.767 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006006/0.2453, allocations: 191.4 kB / 0.7672 GB, free: 3.461 MB / 0.5762 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.0005904/0.2459, allocations: 234.4 kB / 0.7674 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.2464, allocations: 195.8 kB / 0.7676 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2465, allocations: 0 / 0.7676 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.2467, allocations: 76 kB / 0.7677 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.2475, allocations: 154 kB / 0.7679 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.2485, allocations: 0.5914 MB / 0.7684 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.2489, allocations: 0.7957 MB / 0.7692 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.249, allocations: 35.44 kB / 0.7692 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.249, allocations: 0 / 0.7692 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.009364/0.2584, allocations: 5.783 MB / 0.7749 GB, free: 11.6 MB / 0.5919 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.04157604300417] Failed to read output from testmodel.py, exit status != 0: 0.26631489815190434 0.278253686 0.043982299 Calling exit ...