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.001131/0.001132, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001036/0.001036, allocations: 188.2 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3601, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01243/0.3726, allocations: 15.05 MB / 0.5962 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.3767, allocations: 3.88 MB / 0.6 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.3771, allocations: 27 kB / 0.6 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.3777, allocations: 186.7 kB / 0.6002 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.3792, allocations: 0.6769 MB / 0.6009 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.3802, allocations: 491.2 kB / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3813, allocations: 1.08 MB / 0.6024 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.3816, allocations: 283.2 kB / 0.6026 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.3822, allocations: 400.1 kB / 0.603 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3824, allocations: 259.4 kB / 0.6033 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3825, allocations: 21 kB / 0.6033 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.3834, allocations: 0.7173 MB / 0.604 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.3835, allocations: 76.67 kB / 0.6041 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.3837, allocations: 187 kB / 0.6042 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009308/0.3846, allocations: 0.7243 MB / 0.605 GB, free: 6.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3846, allocations: 1.062 kB / 0.605 GB, free: 6.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3846, allocations: 3.938 kB / 0.605 GB, free: 6.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.3847, allocations: 2.406 kB / 0.605 GB, free: 6.172 MB / 446.1 MB 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.0009505/0.3856, allocations: 0.7357 MB / 0.6057 GB, free: 5.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3857, allocations: 12.03 kB / 0.6057 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.3858, allocations: 45.75 kB / 0.6057 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.3866, allocations: 0.5102 MB / 0.6062 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3867, allocations: 17.08 kB / 0.6062 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3867, allocations: 19.94 kB / 0.6063 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.387, allocations: 185.4 kB / 0.6064 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.387, allocations: 0 / 0.6064 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3871, allocations: 4.688 kB / 0.6064 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3871, allocations: 7.984 kB / 0.6065 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.3874, allocations: 146 kB / 0.6066 GB, free: 4.41 MB / 446.1 MB 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.0008956/0.3883, allocations: 0.8633 MB / 0.6074 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3885, allocations: 112.3 kB / 0.6075 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3886, allocations: 72.8 kB / 0.6076 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.3888, allocations: 340 kB / 0.6079 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3889, allocations: 38.56 kB / 0.608 GB, free: 2.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3889, allocations: 0 / 0.608 GB, free: 2.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004865/0.3894, allocations: 225 kB / 0.6082 GB, free: 2.582 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3894, allocations: 51.41 kB / 0.6082 GB, free: 2.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3897, allocations: 353.3 kB / 0.6086 GB, free: 2.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3897, allocations: 25.7 kB / 0.6086 GB, free: 2.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.3898, allocations: 192.3 kB / 0.6088 GB, free: 1.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.3898, allocations: 43.38 kB / 0.6088 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3899, allocations: 33.7 kB / 0.6089 GB, free: 1.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.3899, allocations: 346.8 kB / 0.6092 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3901, allocations: 51.67 kB / 0.6092 GB, free: 1.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3902, allocations: 85.89 kB / 0.6093 GB, free: 1.371 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.3904, allocations: 124.5 kB / 0.6094 GB, free: 1.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3904, allocations: 0 / 0.6094 GB, free: 1.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002971/0.3907, allocations: 173.1 kB / 0.6096 GB, free: 1.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3908, allocations: 4 kB / 0.6096 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3908, allocations: 8.094 kB / 0.6096 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3908, allocations: 3.938 kB / 0.6096 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3909, allocations: 31.92 kB / 0.6096 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.391, allocations: 0 / 0.6096 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3911, allocations: 19.88 kB / 0.6097 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3912, allocations: 4 kB / 0.6097 GB, free: 1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001637/0.3913, allocations: 156.1 kB / 0.6098 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001183/0.3915, allocations: 92.19 kB / 0.6099 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001978/0.3917, allocations: 117.6 kB / 0.61 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3917, allocations: 0 / 0.61 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000276/0.3919, allocations: 165.2 kB / 0.6102 GB, free: 460 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-06/0.392, allocations: 15.94 kB / 0.6102 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.392, allocations: 0 / 0.6102 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-06/0.392, allocations: 0 / 0.6102 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.3921, allocations: 23.98 kB / 0.6102 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-06/0.3921, allocations: 0 / 0.6102 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3923, allocations: 23.89 kB / 0.6102 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3923, allocations: 7.984 kB / 0.6102 GB, free: 388 kB / 446.1 MB 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 6.163e-05/0.3923, allocations: 188.1 kB / 0.6104 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3924, allocations: 43.56 kB / 0.6105 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.3929, allocations: 227.5 kB / 0.6107 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3929, allocations: 96 / 0.6107 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3929, allocations: 7.984 kB / 0.6107 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3929, allocations: 0 / 0.6107 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.3938, allocations: 0.6318 MB / 0.6113 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3938, allocations: 0 / 0.6113 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3939, allocations: 27.97 kB / 0.6113 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3939, allocations: 0 / 0.6113 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3939, allocations: 8 kB / 0.6113 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.394, allocations: 4.062 kB / 0.6113 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.394, allocations: 8 kB / 0.6114 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.3944, allocations: 317.5 kB / 0.6117 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3945, allocations: 128.6 kB / 0.6118 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3946, allocations: 0 / 0.6118 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3948, allocations: 19.97 kB / 0.6118 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3948, allocations: 19.86 kB / 0.6118 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3948, allocations: 8 kB / 0.6118 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.3951, allocations: 243.2 kB / 0.6121 GB, free: 14.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3951, allocations: 0 / 0.6121 GB, free: 14.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.3957, allocations: 195.6 kB / 0.6122 GB, free: 14.21 MB / 462.1 MB 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.0005235/0.3962, allocations: 244.5 kB / 0.6125 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.3967, allocations: 187.7 kB / 0.6127 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3967, allocations: 0 / 0.6127 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3969, allocations: 80.08 kB / 0.6127 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.3977, allocations: 147.9 kB / 0.6129 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/0.3985, allocations: 0.5608 MB / 0.6134 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3989, allocations: 0.7918 MB / 0.6142 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.3991, allocations: 85.81 kB / 0.6143 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3992, allocations: 27.44 kB / 0.6143 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3992, allocations: 0 / 0.6143 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Templates: time 0.01185/0.411, allocations: 6.568 MB / 0.6207 GB, free: 5.594 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)