Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001197/0.001197, allocations: 99.02 kB / 16.35 MB, free: 5.824 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.001164/0.001164, allocations: 195.8 kB / 17.29 MB, free: 5.48 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 289.5 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 98.56 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1623, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2925/0.4548, allocations: 15.03 MB / 0.6963 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.4599, allocations: 3.89 MB / 0.7001 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.4603, allocations: 17.88 kB / 0.7001 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.461, allocations: 187.7 kB / 0.7003 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.4625, allocations: 0.6775 MB / 0.7009 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4638, allocations: 483.3 kB / 0.7014 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4654, allocations: 1.085 MB / 0.7024 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.4659, allocations: 283.1 kB / 0.7027 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.4666, allocations: 407.1 kB / 0.7031 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.4669, allocations: 261.5 kB / 0.7033 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.4669, allocations: 21.34 kB / 0.7034 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.4681, allocations: 0.7171 MB / 0.7041 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.4682, allocations: 73.86 kB / 0.7041 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.4684, allocations: 189.3 kB / 0.7043 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.4694, allocations: 0.7287 MB / 0.705 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4694, allocations: 0 / 0.705 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4694, allocations: 0.875 kB / 0.705 GB, free: 6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.4695, allocations: 0 / 0.705 GB, free: 6 MB / 494.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.001061/0.4705, allocations: 0.7346 MB / 0.7057 GB, free: 5.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4706, allocations: 9.344 kB / 0.7058 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.69e-05/0.4707, allocations: 46.5 kB / 0.7058 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.4716, allocations: 0.5243 MB / 0.7063 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4716, allocations: 12.7 kB / 0.7063 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.4717, allocations: 20.81 kB / 0.7063 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.472, allocations: 176.9 kB / 0.7065 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.472, allocations: 4 kB / 0.7065 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.4721, allocations: 6.125 kB / 0.7065 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4721, allocations: 4.156 kB / 0.7065 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.4724, allocations: 141.6 kB / 0.7067 GB, free: 4.879 MB / 494.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.001076/0.4735, allocations: 0.8568 MB / 0.7075 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.4737, allocations: 116.1 kB / 0.7076 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.4739, allocations: 78.28 kB / 0.7077 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.4741, allocations: 338.9 kB / 0.708 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4742, allocations: 36.42 kB / 0.708 GB, free: 3.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.4742, allocations: 0 / 0.708 GB, free: 3.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005573/0.4747, allocations: 217.6 kB / 0.7083 GB, free: 3.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4748, allocations: 54.12 kB / 0.7083 GB, free: 3.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.4751, allocations: 344.3 kB / 0.7086 GB, free: 3.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4752, allocations: 30.95 kB / 0.7087 GB, free: 3.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4753, allocations: 201.2 kB / 0.7089 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.4753, allocations: 43.5 kB / 0.7089 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.4754, allocations: 37.11 kB / 0.7089 GB, free: 3.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.4755, allocations: 340.9 kB / 0.7093 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4756, allocations: 55.52 kB / 0.7093 GB, free: 2.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4758, allocations: 91.67 kB / 0.7094 GB, free: 2.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.4761, allocations: 112.8 kB / 0.7095 GB, free: 2.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4761, allocations: 0 / 0.7095 GB, free: 2.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003737/0.4764, allocations: 178.1 kB / 0.7097 GB, free: 2.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4765, allocations: 12.03 kB / 0.7097 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4765, allocations: 6 kB / 0.7097 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4765, allocations: 1.281 kB / 0.7097 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4767, allocations: 28 kB / 0.7097 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4767, allocations: 1.25 kB / 0.7097 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.4769, allocations: 22.41 kB / 0.7097 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.4769, allocations: 5.062 kB / 0.7097 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001905/0.4771, allocations: 155.2 kB / 0.7099 GB, free: 2.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001374/0.4772, allocations: 90.81 kB / 0.71 GB, free: 2.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002265/0.4775, allocations: 113.2 kB / 0.7101 GB, free: 2.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.4775, allocations: 5.375 kB / 0.7101 GB, free: 2.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003283/0.4778, allocations: 174.9 kB / 0.7103 GB, free: 2.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.4778, allocations: 5.125 kB / 0.7103 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.4778, allocations: 1.141 kB / 0.7103 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/0.4778, allocations: 5.125 kB / 0.7103 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.478, allocations: 28.33 kB / 0.7103 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.478, allocations: 3.297 kB / 0.7103 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4781, allocations: 18.11 kB / 0.7103 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4782, allocations: 8.547 kB / 0.7103 GB, free: 2.242 MB / 494.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.722e-05/0.4782, allocations: 189.1 kB / 0.7105 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.4783, allocations: 32.03 kB / 0.7105 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.4788, allocations: 227.7 kB / 0.7108 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4788, allocations: 1.672 kB / 0.7108 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4788, allocations: 1.094 kB / 0.7108 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4788, allocations: 5 kB / 0.7108 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.4797, allocations: 0.6295 MB / 0.7114 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4797, allocations: 1.422 kB / 0.7114 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4798, allocations: 31.45 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4798, allocations: 2.328 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4799, allocations: 2.844 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4799, allocations: 2.344 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4799, allocations: 1.609 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.4803, allocations: 328.7 kB / 0.7117 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4804, allocations: 130.4 kB / 0.7119 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4805, allocations: 7.094 kB / 0.7119 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.4807, allocations: 17.28 kB / 0.7119 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.4807, allocations: 12.78 kB / 0.7119 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4808, allocations: 9.797 kB / 0.7119 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.4811, allocations: 245.5 kB / 0.7121 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4811, allocations: 0 / 0.7121 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00071/0.4818, allocations: 181.6 kB / 0.7123 GB, free: 0.957 MB / 494.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.0005115/0.4823, allocations: 259.6 kB / 0.7126 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4828, allocations: 188.5 kB / 0.7127 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4828, allocations: 4.812 kB / 0.7127 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.483, allocations: 80.72 kB / 0.7128 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.4837, allocations: 148.7 kB / 0.713 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.4845, allocations: 0.5565 MB / 0.7135 GB, free: 336 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4849, allocations: 0.7932 MB / 0.7143 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.4851, allocations: 79.62 kB / 0.7143 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.4852, allocations: 29.91 kB / 0.7144 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4852, allocations: 0 / 0.7144 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.01247/0.4976, allocations: 6.58 MB / 0.7208 GB, free: 14.07 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)