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) 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-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007528/0.007529, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001405/0.001405, allocations: 185.5 kB / 16.67 MB, free: 5.938 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8341/0.8341, allocations: 135.1 MB / 425.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.08 kB / 0.5856 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1848, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01542/0.2002, allocations: 15.05 MB / 0.6793 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00629/0.2066, allocations: 3.884 MB / 0.6831 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009044/0.2075, allocations: 15.94 kB / 0.6831 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009441/0.2085, allocations: 190.7 kB / 0.6833 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.2109, allocations: 0.6802 MB / 0.684 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.2128, allocations: 477.3 kB / 0.6844 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.2148, allocations: 1.087 MB / 0.6855 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006498/0.2155, allocations: 283.2 kB / 0.6858 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/0.2165, allocations: 402.4 kB / 0.6861 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.217, allocations: 266.8 kB / 0.6864 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.2171, allocations: 20 kB / 0.6864 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.2187, allocations: 0.7212 MB / 0.6871 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2188, allocations: 75.62 kB / 0.6872 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.2191, allocations: 183 kB / 0.6874 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2206, allocations: 0.7317 MB / 0.6881 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2207, allocations: 0 / 0.6881 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2207, allocations: 0 / 0.6881 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2207, allocations: 3.938 kB / 0.6881 GB, free: 13.69 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.001346/0.222, allocations: 0.7582 MB / 0.6888 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2221, allocations: 9.109 kB / 0.6888 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2222, allocations: 48.66 kB / 0.6889 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2233, allocations: 0.5131 MB / 0.6894 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2234, allocations: 16.33 kB / 0.6894 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.2234, allocations: 16 kB / 0.6894 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.2238, allocations: 172.2 kB / 0.6896 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2238, allocations: 0 / 0.6896 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2239, allocations: 11.94 kB / 0.6896 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2239, allocations: 4 kB / 0.6896 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.2242, allocations: 144.2 kB / 0.6897 GB, free: 11.91 MB / 0.5294 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.001227/0.2254, allocations: 0.8645 MB / 0.6906 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2257, allocations: 126.6 kB / 0.6907 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2259, allocations: 72.75 kB / 0.6908 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.2262, allocations: 340.4 kB / 0.6911 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2262, allocations: 38.5 kB / 0.6911 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.2262, allocations: 0 / 0.6911 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006062/0.2269, allocations: 225.6 kB / 0.6913 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.2269, allocations: 55.41 kB / 0.6914 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.2273, allocations: 345.7 kB / 0.6917 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2273, allocations: 25.7 kB / 0.6918 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.2275, allocations: 188.5 kB / 0.6919 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.2275, allocations: 43.58 kB / 0.692 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2276, allocations: 41.7 kB / 0.692 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2278, allocations: 342.8 kB / 0.6923 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2279, allocations: 52.81 kB / 0.6924 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2281, allocations: 88.23 kB / 0.6925 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2284, allocations: 117.6 kB / 0.6926 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2284, allocations: 4 kB / 0.6926 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004063/0.2288, allocations: 181.3 kB / 0.6928 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2288, allocations: 7.938 kB / 0.6928 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2288, allocations: 0 / 0.6928 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2289, allocations: 0 / 0.6928 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.229, allocations: 23.98 kB / 0.6928 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.229, allocations: 8.094 kB / 0.6928 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2292, allocations: 27.86 kB / 0.6928 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2293, allocations: 4 kB / 0.6928 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002211/0.2295, allocations: 152.1 kB / 0.693 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001555/0.2297, allocations: 92.19 kB / 0.6931 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002476/0.2299, allocations: 117.6 kB / 0.6932 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.2299, allocations: 0 / 0.6932 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003665/0.2303, allocations: 173.3 kB / 0.6933 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2303, allocations: 4 kB / 0.6933 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.2303, allocations: 0 / 0.6933 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.2304, allocations: 4 kB / 0.6934 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2305, allocations: 27.92 kB / 0.6934 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.2305, allocations: 4 kB / 0.6934 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2307, allocations: 23.88 kB / 0.6934 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2307, allocations: 7.984 kB / 0.6934 GB, free: 7.836 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.0001308/0.2308, allocations: 188.3 kB / 0.6936 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.2309, allocations: 39.7 kB / 0.6936 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.2314, allocations: 232.7 kB / 0.6939 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2314, allocations: 4 kB / 0.6939 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2315, allocations: 0 / 0.6939 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2315, allocations: 0 / 0.6939 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.2323, allocations: 0.6297 MB / 0.6945 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.2324, allocations: 4 kB / 0.6945 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2325, allocations: 23.92 kB / 0.6945 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2325, allocations: 7.984 kB / 0.6945 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2325, allocations: 4 kB / 0.6945 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2325, allocations: 4.125 kB / 0.6945 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2325, allocations: 4 kB / 0.6945 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.233, allocations: 328.3 kB / 0.6948 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2331, allocations: 128.8 kB / 0.695 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.2331, allocations: 4 kB / 0.695 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2333, allocations: 15.97 kB / 0.695 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2334, allocations: 15.94 kB / 0.695 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2334, allocations: 7.984 kB / 0.695 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002379/0.2337, allocations: 243.2 kB / 0.6952 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2337, allocations: 0 / 0.6952 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006171/0.2343, allocations: 195.4 kB / 0.6954 GB, free: 5.668 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.0006417/0.2349, allocations: 256.7 kB / 0.6957 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.2355, allocations: 187.7 kB / 0.6958 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2355, allocations: 0 / 0.6958 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2357, allocations: 75.89 kB / 0.6959 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.2365, allocations: 141.9 kB / 0.696 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.2374, allocations: 0.5742 MB / 0.6966 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2378, allocations: 0.7918 MB / 0.6974 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.238, allocations: 79.19 kB / 0.6975 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.2381, allocations: 31.38 kB / 0.6975 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2381, allocations: 4 kB / 0.6975 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.01371/0.2518, allocations: 6.595 MB / 0.7039 GB, free: 12.98 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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)