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.007582/0.007582, 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.001225/0.001225, 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.412/1.412, 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.8086/0.8086, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.86 kB / 0.5813 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1879, allocations: 80.21 MB / 0.6597 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01822/0.2062, allocations: 15.05 MB / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2123, allocations: 3.88 MB / 0.6781 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.2131, allocations: 19.88 kB / 0.6782 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.214, allocations: 194.7 kB / 0.6783 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.2163, allocations: 0.7036 MB / 0.679 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.2179, allocations: 490.8 kB / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.2197, allocations: 1.079 MB / 0.6806 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.2204, allocations: 277.6 kB / 0.6808 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.2215, allocations: 422.3 kB / 0.6812 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.2221, allocations: 262.8 kB / 0.6815 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.2221, allocations: 24 kB / 0.6815 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.2237, allocations: 0.7135 MB / 0.6822 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2239, allocations: 79.61 kB / 0.6823 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.2242, allocations: 183 kB / 0.6824 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2255, allocations: 0.7284 MB / 0.6832 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2255, allocations: 0 / 0.6832 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2255, allocations: 7.938 kB / 0.6832 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2255, allocations: 0 / 0.6832 GB, free: 2.25 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.001255/0.2268, allocations: 0.7396 MB / 0.6839 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2268, allocations: 12.03 kB / 0.6839 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.2269, allocations: 40.47 kB / 0.6839 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2281, allocations: 0.5127 MB / 0.6844 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2281, allocations: 12.33 kB / 0.6844 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.2281, allocations: 20 kB / 0.6845 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.2286, allocations: 180.1 kB / 0.6846 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2286, allocations: 0 / 0.6846 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.2286, allocations: 11.92 kB / 0.6846 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2286, allocations: 8 kB / 0.6847 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.229, allocations: 148.1 kB / 0.6848 GB, free: 488 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.00136/0.2304, allocations: 0.8567 MB / 0.6856 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2306, allocations: 114.6 kB / 0.6857 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2308, allocations: 80.73 kB / 0.6858 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.2312, allocations: 336.4 kB / 0.6861 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2312, allocations: 34.56 kB / 0.6862 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.2312, allocations: 4 kB / 0.6862 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005852/0.2318, allocations: 219.9 kB / 0.6864 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.2319, allocations: 55.34 kB / 0.6864 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.2322, allocations: 341.7 kB / 0.6868 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2323, allocations: 33.7 kB / 0.6868 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2324, allocations: 192.2 kB / 0.687 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2324, allocations: 43.45 kB / 0.687 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.2325, allocations: 33.7 kB / 0.6871 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2326, allocations: 338.8 kB / 0.6874 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2328, allocations: 52.81 kB / 0.6874 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.233, allocations: 92.25 kB / 0.6875 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.2332, allocations: 121.5 kB / 0.6876 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2332, allocations: 0 / 0.6876 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003794/0.2336, allocations: 181 kB / 0.6878 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2336, allocations: 6.031 kB / 0.6878 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2336, allocations: 0 / 0.6878 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2337, allocations: 4 kB / 0.6878 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2338, allocations: 27.98 kB / 0.6878 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2338, allocations: 0 / 0.6878 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.234, allocations: 23.91 kB / 0.6879 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2341, allocations: 4 kB / 0.6879 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002345/0.2343, allocations: 157 kB / 0.688 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001601/0.2345, allocations: 92.12 kB / 0.6881 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002573/0.2347, allocations: 113.6 kB / 0.6882 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.2348, allocations: 0 / 0.6882 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000365/0.2351, allocations: 177.1 kB / 0.6884 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2351, allocations: 8.188 kB / 0.6884 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2352, allocations: 3.984 kB / 0.6884 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-06/0.2352, allocations: 7.938 kB / 0.6884 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2353, allocations: 27.98 kB / 0.6884 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.2353, allocations: 0 / 0.6884 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.2355, allocations: 11.98 kB / 0.6884 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2355, allocations: 11.98 kB / 0.6885 GB, free: 12.43 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.0001513/0.2357, allocations: 188.3 kB / 0.6886 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.2357, allocations: 35.56 kB / 0.6887 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.2362, allocations: 241.8 kB / 0.6889 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2363, allocations: 0 / 0.6889 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2363, allocations: 0 / 0.6889 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2363, allocations: 4 kB / 0.6889 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.2372, allocations: 0.6334 MB / 0.6895 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2372, allocations: 0 / 0.6895 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2374, allocations: 27.97 kB / 0.6895 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2374, allocations: 0 / 0.6895 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2374, allocations: 8.125 kB / 0.6896 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2374, allocations: 0 / 0.6896 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2374, allocations: 4 kB / 0.6896 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.2378, allocations: 321.5 kB / 0.6899 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.238, allocations: 128.6 kB / 0.69 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.238, allocations: 0 / 0.69 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2382, allocations: 19.97 kB / 0.69 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2383, allocations: 15.92 kB / 0.69 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2383, allocations: 12 kB / 0.69 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002437/0.2385, allocations: 247.1 kB / 0.6903 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2385, allocations: 0 / 0.6903 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005922/0.2391, allocations: 187.6 kB / 0.6904 GB, free: 10.27 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.000541/0.2397, allocations: 255.8 kB / 0.6907 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005171/0.2402, allocations: 187.8 kB / 0.6909 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2402, allocations: 0 / 0.6909 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.2404, allocations: 75.89 kB / 0.6909 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.2412, allocations: 156.3 kB / 0.6911 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.2421, allocations: 0.5593 MB / 0.6916 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.2425, allocations: 0.7957 MB / 0.6924 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.2428, allocations: 77 kB / 0.6925 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.2428, allocations: 31.44 kB / 0.6925 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.2428, allocations: 0 / 0.6925 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.01357/0.2564, allocations: 6.589 MB / 0.699 GB, free: 1.605 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)