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.001155/0.001155, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.001134/0.001134, allocations: 191 kB / 17.34 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 286.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 95.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5402, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01683/0.5571, allocations: 15.03 MB / 0.7817 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.5628, allocations: 3.89 MB / 0.7855 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.5634, allocations: 23.88 kB / 0.7855 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.564, allocations: 190.7 kB / 0.7857 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.5657, allocations: 0.6764 MB / 0.7864 GB, free: 88 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.567, allocations: 479.6 kB / 0.7868 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5684, allocations: 1.087 MB / 0.7879 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.5688, allocations: 289.5 kB / 0.7882 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.5694, allocations: 410.4 kB / 0.7886 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.5698, allocations: 258.8 kB / 0.7888 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.5698, allocations: 20 kB / 0.7888 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.571, allocations: 0.729 MB / 0.7895 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.5711, allocations: 71.69 kB / 0.7896 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.5713, allocations: 187 kB / 0.7898 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.5723, allocations: 0.727 MB / 0.7905 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5724, allocations: 4 kB / 0.7905 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5724, allocations: 0 / 0.7905 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5724, allocations: 0 / 0.7905 GB, free: 11.85 MB / 0.5606 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.001152/0.5735, allocations: 0.7513 MB / 0.7912 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5736, allocations: 8.031 kB / 0.7912 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.5737, allocations: 44.47 kB / 0.7913 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5747, allocations: 0.5057 MB / 0.7918 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.5747, allocations: 16.27 kB / 0.7918 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.5748, allocations: 24 kB / 0.7918 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.5751, allocations: 172.2 kB / 0.792 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.5752, allocations: 0 / 0.792 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.5752, allocations: 8 kB / 0.792 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.5752, allocations: 4 kB / 0.792 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.5755, allocations: 136.2 kB / 0.7921 GB, free: 10.09 MB / 0.5606 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.00118/0.5767, allocations: 0.8605 MB / 0.793 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.577, allocations: 118.6 kB / 0.7931 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5772, allocations: 76.81 kB / 0.7932 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.5775, allocations: 340.3 kB / 0.7935 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5775, allocations: 38.48 kB / 0.7935 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.5775, allocations: 0 / 0.7935 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005751/0.5781, allocations: 221 kB / 0.7937 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5782, allocations: 59.41 kB / 0.7938 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.5785, allocations: 341.7 kB / 0.7941 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.5786, allocations: 29.7 kB / 0.7941 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.5787, allocations: 188.4 kB / 0.7943 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.5788, allocations: 43.38 kB / 0.7944 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.5788, allocations: 41.61 kB / 0.7944 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.579, allocations: 342.8 kB / 0.7947 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.5791, allocations: 56.77 kB / 0.7948 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.5793, allocations: 84.69 kB / 0.7949 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.5796, allocations: 117.6 kB / 0.795 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5796, allocations: 4 kB / 0.795 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003794/0.58, allocations: 177.2 kB / 0.7951 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.58, allocations: 7.938 kB / 0.7951 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.58, allocations: 0 / 0.7951 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.58, allocations: 0 / 0.7951 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5802, allocations: 31.91 kB / 0.7952 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5802, allocations: 4 kB / 0.7952 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.5804, allocations: 19.89 kB / 0.7952 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.5804, allocations: 8 kB / 0.7952 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002191/0.5806, allocations: 154.5 kB / 0.7954 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.5808, allocations: 92.39 kB / 0.7954 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002424/0.5811, allocations: 113.6 kB / 0.7956 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.5811, allocations: 4 kB / 0.7956 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003419/0.5814, allocations: 173.2 kB / 0.7957 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.5814, allocations: 4 kB / 0.7957 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.5815, allocations: 128 / 0.7957 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-06/0.5815, allocations: 7.938 kB / 0.7957 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5816, allocations: 23.98 kB / 0.7958 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.5816, allocations: 4 kB / 0.7958 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.5818, allocations: 27.84 kB / 0.7958 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5818, allocations: 8 kB / 0.7958 GB, free: 6.023 MB / 0.5606 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.0001191/0.5819, allocations: 188.2 kB / 0.796 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.582, allocations: 39.47 kB / 0.796 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5825, allocations: 212.7 kB / 0.7962 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5825, allocations: 4 kB / 0.7962 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5825, allocations: 0 / 0.7962 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5825, allocations: 4 kB / 0.7962 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.5834, allocations: 0.6398 MB / 0.7968 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5835, allocations: 4 kB / 0.7969 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5836, allocations: 23.92 kB / 0.7969 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5836, allocations: 4.188 kB / 0.7969 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5836, allocations: 8.031 kB / 0.7969 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5836, allocations: 4 kB / 0.7969 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5836, allocations: 3.984 kB / 0.7969 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.584, allocations: 321.5 kB / 0.7972 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5842, allocations: 124.6 kB / 0.7973 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.5842, allocations: 8 kB / 0.7973 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5844, allocations: 15.97 kB / 0.7973 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.5845, allocations: 11.92 kB / 0.7974 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.5845, allocations: 8 kB / 0.7974 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002369/0.5848, allocations: 247.2 kB / 0.7976 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5848, allocations: 4 kB / 0.7976 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005847/0.5854, allocations: 195.5 kB / 0.7978 GB, free: 3.867 MB / 0.5606 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.0005248/0.5859, allocations: 245.1 kB / 0.798 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.5864, allocations: 191.8 kB / 0.7982 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5864, allocations: 0 / 0.7982 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.5866, allocations: 75.89 kB / 0.7983 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.5874, allocations: 161 kB / 0.7984 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.5883, allocations: 0.5806 MB / 0.799 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.5887, allocations: 0.7997 MB / 0.7998 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.5888, allocations: 27.44 kB / 0.7998 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5888, allocations: 0 / 0.7998 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.009572/0.5984, allocations: 5.831 MB / 0.8055 GB, free: 11.97 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)