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.006551/0.006551, allocations: 102.2 kB / 15.73 MB, free: 5.508 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.001076/0.001076, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.89 kB / 0.5813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4704, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01384/0.4843, allocations: 15.05 MB / 0.6744 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.4901, allocations: 3.886 MB / 0.6781 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.4906, allocations: 21.91 kB / 0.6782 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.4913, allocations: 193.2 kB / 0.6784 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.4929, allocations: 0.671 MB / 0.679 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4942, allocations: 478.8 kB / 0.6795 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.4957, allocations: 1.083 MB / 0.6805 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.4962, allocations: 286.8 kB / 0.6808 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006698/0.4968, allocations: 402.5 kB / 0.6812 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.4972, allocations: 267.7 kB / 0.6814 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.4973, allocations: 21.59 kB / 0.6815 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.4987, allocations: 0.7171 MB / 0.6822 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4988, allocations: 68.72 kB / 0.6822 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.4991, allocations: 190.4 kB / 0.6824 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.5003, allocations: 0.7399 MB / 0.6831 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5003, allocations: 0 / 0.6831 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5003, allocations: 0 / 0.6831 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.5003, allocations: 0 / 0.6831 GB, free: 8.184 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.001168/0.5015, allocations: 0.7546 MB / 0.6839 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5015, allocations: 10.25 kB / 0.6839 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.5016, allocations: 49.34 kB / 0.6839 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.5026, allocations: 0.5127 MB / 0.6844 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5027, allocations: 17.14 kB / 0.6844 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.5027, allocations: 15.66 kB / 0.6845 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.5031, allocations: 187.7 kB / 0.6846 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5031, allocations: 5.562 kB / 0.6846 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.5031, allocations: 9.094 kB / 0.6846 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5031, allocations: 3.312 kB / 0.6846 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.5034, allocations: 138 kB / 0.6848 GB, free: 6.852 MB / 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.001079/0.5045, allocations: 0.8649 MB / 0.6856 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5048, allocations: 116.1 kB / 0.6857 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.505, allocations: 73.91 kB / 0.6858 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.5052, allocations: 335.8 kB / 0.6861 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.5053, allocations: 39.69 kB / 0.6862 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5053, allocations: 0 / 0.6862 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005513/0.5059, allocations: 220.2 kB / 0.6864 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5059, allocations: 53.62 kB / 0.6864 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.5063, allocations: 352 kB / 0.6868 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5063, allocations: 27.08 kB / 0.6868 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5064, allocations: 198.3 kB / 0.687 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.5065, allocations: 37.19 kB / 0.687 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.5065, allocations: 38.03 kB / 0.687 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5067, allocations: 343.1 kB / 0.6874 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.5068, allocations: 53.53 kB / 0.6874 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.507, allocations: 86.72 kB / 0.6875 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.5072, allocations: 117.6 kB / 0.6876 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5072, allocations: 1.375 kB / 0.6876 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003481/0.5076, allocations: 176.5 kB / 0.6878 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5076, allocations: 6.219 kB / 0.6878 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5076, allocations: 4 kB / 0.6878 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5077, allocations: 1.156 kB / 0.6878 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.5078, allocations: 35.94 kB / 0.6878 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5078, allocations: 5.156 kB / 0.6878 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.508, allocations: 32.86 kB / 0.6879 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.508, allocations: 4.656 kB / 0.6879 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002018/0.5082, allocations: 153.5 kB / 0.688 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001397/0.5084, allocations: 90.69 kB / 0.6881 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000223/0.5086, allocations: 112.1 kB / 0.6882 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.5086, allocations: 0 / 0.6882 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003359/0.509, allocations: 179.5 kB / 0.6884 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.509, allocations: 5.5 kB / 0.6884 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.509, allocations: 128 / 0.6884 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.509, allocations: 5.375 kB / 0.6884 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.5091, allocations: 23.23 kB / 0.6884 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.5091, allocations: 1.375 kB / 0.6884 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5093, allocations: 20.19 kB / 0.6884 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5093, allocations: 4.125 kB / 0.6884 GB, free: 3.809 MB / 0.5137 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.0001069/0.5094, allocations: 196.3 kB / 0.6886 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.5095, allocations: 40.2 kB / 0.6887 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.5099, allocations: 225.9 kB / 0.6889 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5099, allocations: 1.375 kB / 0.6889 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5099, allocations: 1.375 kB / 0.6889 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5099, allocations: 0 / 0.6889 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.5108, allocations: 0.6382 MB / 0.6895 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5108, allocations: 1.281 kB / 0.6895 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.857e-05/0.5109, allocations: 22.45 kB / 0.6895 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5109, allocations: 6.875 kB / 0.6895 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5109, allocations: 9.078 kB / 0.6895 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5109, allocations: 6.281 kB / 0.6896 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5109, allocations: 1.5 kB / 0.6896 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.5113, allocations: 315.1 kB / 0.6899 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5115, allocations: 130.5 kB / 0.69 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.5115, allocations: 2.281 kB / 0.69 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5117, allocations: 20.14 kB / 0.69 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.5118, allocations: 17.45 kB / 0.69 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.5118, allocations: 8.141 kB / 0.69 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002406/0.512, allocations: 243.8 kB / 0.6903 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.512, allocations: 0 / 0.6903 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00059/0.5126, allocations: 193.4 kB / 0.6904 GB, free: 2.285 MB / 0.5137 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.000524/0.5132, allocations: 248.8 kB / 0.6907 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.5136, allocations: 187.6 kB / 0.6909 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5137, allocations: 0 / 0.6909 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.5138, allocations: 85.2 kB / 0.6909 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.5146, allocations: 155.8 kB / 0.6911 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.5156, allocations: 0.5756 MB / 0.6917 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.516, allocations: 0.7939 MB / 0.6924 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.5162, allocations: 77.62 kB / 0.6925 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.5163, allocations: 36.05 kB / 0.6925 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.5163, allocations: 0 / 0.6925 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of Templates: time 0.01177/0.5281, allocations: 6.584 MB / 0.699 GB, free: 13.46 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)