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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01336/0.01336, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8778/0.8778, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 75.58 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1961, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0174/0.2136, allocations: 15.05 MB / 0.6744 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006517/0.2202, allocations: 3.892 MB / 0.6782 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.2208, allocations: 23.81 kB / 0.6782 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.2216, allocations: 186.7 kB / 0.6784 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.224, allocations: 0.7076 MB / 0.679 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2255, allocations: 477.3 kB / 0.6795 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2273, allocations: 1.079 MB / 0.6806 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.2278, allocations: 289.5 kB / 0.6808 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/0.2285, allocations: 410.4 kB / 0.6812 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.2289, allocations: 266.8 kB / 0.6815 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2289, allocations: 20 kB / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.2303, allocations: 0.7212 MB / 0.6822 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2304, allocations: 75.62 kB / 0.6823 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2307, allocations: 183 kB / 0.6824 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2318, allocations: 0.7361 MB / 0.6832 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2318, allocations: 0 / 0.6832 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2318, allocations: 0 / 0.6832 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.2318, allocations: 0 / 0.6832 GB, free: 2.133 MB / 0.5137 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.001206/0.2331, allocations: 0.7435 MB / 0.6839 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2331, allocations: 8.031 kB / 0.6839 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2332, allocations: 44.47 kB / 0.6839 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.2345, allocations: 0.5088 MB / 0.6844 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2346, allocations: 16.33 kB / 0.6845 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.2346, allocations: 16 kB / 0.6845 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.235, allocations: 176.1 kB / 0.6846 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.235, allocations: 0 / 0.6846 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.2351, allocations: 11.94 kB / 0.6846 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2351, allocations: 7.984 kB / 0.6847 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.2354, allocations: 140.2 kB / 0.6848 GB, free: 380 kB / 0.5137 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.001316/0.2368, allocations: 0.8605 MB / 0.6856 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.237, allocations: 122.6 kB / 0.6857 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2372, allocations: 80.73 kB / 0.6858 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.2375, allocations: 332.4 kB / 0.6861 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2376, allocations: 38.5 kB / 0.6862 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.2376, allocations: 0 / 0.6862 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005641/0.2381, allocations: 220.4 kB / 0.6864 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2382, allocations: 55.41 kB / 0.6864 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.2386, allocations: 345.7 kB / 0.6868 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.2386, allocations: 25.7 kB / 0.6868 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2387, allocations: 200.2 kB / 0.687 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2388, allocations: 39.44 kB / 0.687 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.2389, allocations: 37.7 kB / 0.6871 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.239, allocations: 346.8 kB / 0.6874 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2391, allocations: 52.81 kB / 0.6874 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.2393, allocations: 84.19 kB / 0.6875 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2396, allocations: 121.6 kB / 0.6876 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2396, allocations: 4 kB / 0.6876 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003833/0.24, allocations: 177 kB / 0.6878 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.24, allocations: 4 kB / 0.6878 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.24, allocations: 0 / 0.6878 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.24, allocations: 3.938 kB / 0.6878 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2402, allocations: 27.98 kB / 0.6878 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2402, allocations: 4 kB / 0.6878 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2404, allocations: 23.91 kB / 0.6879 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2404, allocations: 4 kB / 0.6879 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002159/0.2407, allocations: 153 kB / 0.688 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001828/0.2408, allocations: 92.19 kB / 0.6881 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002324/0.2411, allocations: 121.6 kB / 0.6882 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.2411, allocations: 0 / 0.6882 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003257/0.2414, allocations: 177 kB / 0.6884 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.2414, allocations: 4 kB / 0.6884 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.2415, allocations: 0 / 0.6884 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-06/0.2415, allocations: 4 kB / 0.6884 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2416, allocations: 23.92 kB / 0.6884 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.2416, allocations: 8 kB / 0.6884 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2418, allocations: 15.98 kB / 0.6884 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2418, allocations: 7.984 kB / 0.6885 GB, free: 12.31 MB / 0.5294 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.0001128/0.2419, allocations: 188.3 kB / 0.6886 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.242, allocations: 35.56 kB / 0.6887 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.2425, allocations: 229.9 kB / 0.6889 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2425, allocations: 7.938 kB / 0.6889 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2425, allocations: 0 / 0.6889 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2425, allocations: 0 / 0.6889 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.2433, allocations: 0.6256 MB / 0.6895 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2433, allocations: 4.281 kB / 0.6895 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2434, allocations: 35.97 kB / 0.6895 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2435, allocations: 11.98 kB / 0.6896 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2435, allocations: 4 kB / 0.6896 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2435, allocations: 4 kB / 0.6896 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2435, allocations: 0 / 0.6896 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.2439, allocations: 325.4 kB / 0.6899 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2441, allocations: 124.6 kB / 0.69 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2441, allocations: 4 kB / 0.69 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2443, allocations: 19.97 kB / 0.69 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2444, allocations: 11.92 kB / 0.69 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2444, allocations: 8 kB / 0.69 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000258/0.2446, allocations: 243.2 kB / 0.6903 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2446, allocations: 0 / 0.6903 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006674/0.2453, allocations: 195.6 kB / 0.6905 GB, free: 10.14 MB / 0.5294 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.0006256/0.246, allocations: 239.8 kB / 0.6907 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.2465, allocations: 191.8 kB / 0.6909 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2465, allocations: 0 / 0.6909 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2467, allocations: 81.2 kB / 0.6909 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.2474, allocations: 148.6 kB / 0.6911 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.2485, allocations: 0.5638 MB / 0.6916 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.2489, allocations: 0.7918 MB / 0.6924 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.2492, allocations: 77.81 kB / 0.6925 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.2492, allocations: 27.44 kB / 0.6925 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of SimCode: time 1.9e-07/0.2492, allocations: 0 / 0.6925 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of Templates: time 0.01329/0.2626, allocations: 6.596 MB / 0.6989 GB, free: 1.492 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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)