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.001737/0.001737, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002133/0.002133, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9767/0.9767, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.33 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2069, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01748/0.2245, allocations: 15 MB / 0.5983 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.2307, allocations: 3.908 MB / 0.6022 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.2313, allocations: 23.88 kB / 0.6022 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.232, allocations: 155.1 kB / 0.6023 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.2339, allocations: 0.6106 MB / 0.6029 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2354, allocations: 432.3 kB / 0.6033 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3381/0.5735, allocations: 1.362 MB / 0.6047 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.5741, allocations: 234.7 kB / 0.6049 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000799/0.5749, allocations: 375.1 kB / 0.6053 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.5752, allocations: 272.7 kB / 0.6055 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.5753, allocations: 15.06 kB / 0.6055 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.5766, allocations: 0.698 MB / 0.6062 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.5767, allocations: 68.11 kB / 0.6063 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.5769, allocations: 176 kB / 0.6064 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.5777, allocations: 0.705 MB / 0.6071 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5777, allocations: 0 / 0.6071 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5777, allocations: 0 / 0.6071 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5778, allocations: 1.812 kB / 0.6071 GB, free: 36.12 MB / 0.4981 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.00103/0.5788, allocations: 0.7514 MB / 0.6079 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5788, allocations: 13.48 kB / 0.6079 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.5789, allocations: 43.38 kB / 0.6079 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.5797, allocations: 498.1 kB / 0.6084 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.5798, allocations: 17.58 kB / 0.6084 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.5798, allocations: 17.69 kB / 0.6084 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.5802, allocations: 177.4 kB / 0.6086 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5802, allocations: 0 / 0.6086 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.5802, allocations: 6.812 kB / 0.6086 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5802, allocations: 10.94 kB / 0.6086 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.5805, allocations: 136.4 kB / 0.6087 GB, free: 35.27 MB / 0.4981 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.0009247/0.5815, allocations: 0.8621 MB / 0.6096 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.5817, allocations: 130 kB / 0.6097 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.5818, allocations: 68.19 kB / 0.6098 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/0.5822, allocations: 336.9 kB / 0.6101 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.5822, allocations: 36.06 kB / 0.6101 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.5822, allocations: 0 / 0.6101 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000519/0.5827, allocations: 221.1 kB / 0.6103 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.5828, allocations: 51.41 kB / 0.6104 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.5831, allocations: 347.8 kB / 0.6107 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.5831, allocations: 36.05 kB / 0.6108 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.5832, allocations: 192.9 kB / 0.6109 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5833, allocations: 43.83 kB / 0.611 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.5833, allocations: 37.38 kB / 0.611 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.5834, allocations: 344.3 kB / 0.6114 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5835, allocations: 54.05 kB / 0.6114 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5837, allocations: 87.78 kB / 0.6115 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.5839, allocations: 125.7 kB / 0.6116 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5839, allocations: 0 / 0.6116 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003199/0.5842, allocations: 172.2 kB / 0.6118 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5843, allocations: 5.812 kB / 0.6118 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5843, allocations: 2.625 kB / 0.6118 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.5843, allocations: 7.219 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5845, allocations: 23.67 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5845, allocations: 4 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5847, allocations: 28.28 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.5847, allocations: 9.375 kB / 0.6118 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001927/0.5849, allocations: 155.1 kB / 0.612 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001355/0.5851, allocations: 91.77 kB / 0.6121 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.5853, allocations: 112.4 kB / 0.6122 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.5853, allocations: 0 / 0.6122 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002923/0.5856, allocations: 173.5 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.5856, allocations: 6.5 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5856, allocations: 7.156 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-06/0.5856, allocations: 2.625 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5858, allocations: 25.77 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.5858, allocations: 0 / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.586, allocations: 24.45 kB / 0.6124 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.586, allocations: 9.062 kB / 0.6124 GB, free: 33.23 MB / 0.4981 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 8.428e-05/0.5861, allocations: 194.5 kB / 0.6126 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.5861, allocations: 36.5 kB / 0.6126 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.5866, allocations: 219.9 kB / 0.6129 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.5866, allocations: 0 / 0.6129 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5866, allocations: 8.688 kB / 0.6129 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5866, allocations: 0 / 0.6129 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007682/0.5874, allocations: 0.6353 MB / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5874, allocations: 0 / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5875, allocations: 28.31 kB / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5875, allocations: 2.625 kB / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5876, allocations: 10.44 kB / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5876, allocations: 96 / 0.6135 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5876, allocations: 10.28 kB / 0.6135 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.5879, allocations: 311.1 kB / 0.6138 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.588, allocations: 125.2 kB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.5881, allocations: 14.19 kB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5883, allocations: 21.55 kB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.5884, allocations: 16.8 kB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5884, allocations: 5.906 kB / 0.614 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001984/0.5886, allocations: 248.4 kB / 0.6142 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5886, allocations: 4 kB / 0.6142 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006133/0.5892, allocations: 191.7 kB / 0.6144 GB, free: 32.21 MB / 0.4981 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.0005206/0.5898, allocations: 242.3 kB / 0.6147 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.5902, allocations: 194.3 kB / 0.6148 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5903, allocations: 0 / 0.6148 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.5904, allocations: 73.78 kB / 0.6149 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.5912, allocations: 143.3 kB / 0.6151 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.592, allocations: 0.6682 MB / 0.6157 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.5922, allocations: 0.7967 MB / 0.6165 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.5925, allocations: 77.8 kB / 0.6166 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.5925, allocations: 32.06 kB / 0.6166 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.5925, allocations: 0 / 0.6166 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.0108/0.6033, allocations: 6.313 MB / 0.6228 GB, free: 30.52 MB / 0.4981 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)