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.001603/0.001603, allocations: 108.4 kB / 16.41 MB, free: 6.438 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.001637/0.001637, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002309/0.002309, allocations: 289.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.498, allocations: 86.99 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0207/0.5187, allocations: 15.03 MB / 0.7817 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006768/0.5255, allocations: 3.891 MB / 0.7855 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.5263, allocations: 19.94 kB / 0.7855 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.527, allocations: 190.7 kB / 0.7857 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.5287, allocations: 0.6803 MB / 0.7864 GB, free: 60 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.5301, allocations: 469.8 kB / 0.7868 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.5317, allocations: 1.087 MB / 0.7879 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.5323, allocations: 293.6 kB / 0.7882 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008813/0.5332, allocations: 410.4 kB / 0.7886 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.5337, allocations: 258.8 kB / 0.7888 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.5338, allocations: 24 kB / 0.7888 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.5352, allocations: 0.7212 MB / 0.7895 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.5353, allocations: 83.61 kB / 0.7896 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.5355, allocations: 187 kB / 0.7898 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.5366, allocations: 0.727 MB / 0.7905 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5366, allocations: 0 / 0.7905 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5366, allocations: 0 / 0.7905 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5367, allocations: 0 / 0.7905 GB, free: 11.82 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.001108/0.5378, allocations: 0.7435 MB / 0.7912 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5378, allocations: 8.031 kB / 0.7912 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.5379, allocations: 40.47 kB / 0.7913 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.5389, allocations: 0.5134 MB / 0.7918 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5389, allocations: 20.33 kB / 0.7918 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.539, allocations: 20 kB / 0.7918 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.5393, allocations: 172.2 kB / 0.792 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5394, allocations: 0 / 0.792 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.5394, allocations: 11.98 kB / 0.792 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5394, allocations: 4 kB / 0.792 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.5397, allocations: 140.1 kB / 0.7921 GB, free: 10.07 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.001084/0.5408, allocations: 0.8567 MB / 0.793 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.5411, allocations: 126.6 kB / 0.7931 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.5412, allocations: 72.81 kB / 0.7932 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.5415, allocations: 336.4 kB / 0.7935 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5416, allocations: 30.56 kB / 0.7935 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5416, allocations: 0 / 0.7935 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005579/0.5421, allocations: 225 kB / 0.7937 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.5422, allocations: 55.41 kB / 0.7938 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.5425, allocations: 345.7 kB / 0.7941 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.5425, allocations: 29.7 kB / 0.7941 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5427, allocations: 188.4 kB / 0.7943 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.5427, allocations: 43.38 kB / 0.7944 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.5428, allocations: 45.55 kB / 0.7944 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5429, allocations: 342.8 kB / 0.7947 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.543, allocations: 56.77 kB / 0.7948 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.5432, allocations: 84.25 kB / 0.7949 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.5435, allocations: 121.5 kB / 0.795 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5435, allocations: 4 kB / 0.795 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003573/0.5439, allocations: 177.2 kB / 0.7951 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5439, allocations: 11.94 kB / 0.7952 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5439, allocations: 0 / 0.7952 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5439, allocations: 0 / 0.7952 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5441, allocations: 23.98 kB / 0.7952 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5441, allocations: 0 / 0.7952 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5443, allocations: 35.86 kB / 0.7952 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.5443, allocations: 4.062 kB / 0.7952 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00021/0.5445, allocations: 158.5 kB / 0.7954 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001489/0.5447, allocations: 92.19 kB / 0.7955 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002415/0.5449, allocations: 109.6 kB / 0.7956 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.5449, allocations: 0 / 0.7956 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003328/0.5453, allocations: 173.2 kB / 0.7957 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.5453, allocations: 4 kB / 0.7957 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.5453, allocations: 0 / 0.7957 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.5453, allocations: 8.125 kB / 0.7957 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5454, allocations: 23.92 kB / 0.7958 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5454, allocations: 7.938 kB / 0.7958 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.5456, allocations: 27.86 kB / 0.7958 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5456, allocations: 7.984 kB / 0.7958 GB, free: 5.992 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.0001028/0.5457, allocations: 184.3 kB / 0.796 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.5458, allocations: 39.47 kB / 0.796 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.5463, allocations: 224.5 kB / 0.7962 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5463, allocations: 4 kB / 0.7962 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5463, allocations: 4 kB / 0.7962 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5464, allocations: 0 / 0.7962 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.5472, allocations: 0.6294 MB / 0.7969 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5472, allocations: 4 kB / 0.7969 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5473, allocations: 23.97 kB / 0.7969 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5473, allocations: 8.094 kB / 0.7969 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5474, allocations: 4 kB / 0.7969 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.5474, allocations: 4 kB / 0.7969 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5474, allocations: 0 / 0.7969 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.5478, allocations: 321.5 kB / 0.7972 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5479, allocations: 120.6 kB / 0.7973 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.548, allocations: 8 kB / 0.7973 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.5482, allocations: 11.97 kB / 0.7973 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.5482, allocations: 15.98 kB / 0.7973 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5482, allocations: 4 kB / 0.7974 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002239/0.5485, allocations: 243.2 kB / 0.7976 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5485, allocations: 4 kB / 0.7976 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005965/0.5491, allocations: 195.5 kB / 0.7978 GB, free: 3.855 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.0005359/0.5496, allocations: 258.7 kB / 0.798 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.5501, allocations: 187.8 kB / 0.7982 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5502, allocations: 0 / 0.7982 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.5503, allocations: 79.83 kB / 0.7983 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.5512, allocations: 159.9 kB / 0.7984 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.552, allocations: 0.5806 MB / 0.799 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.5524, allocations: 0.7957 MB / 0.7998 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.5524, allocations: 27.44 kB / 0.7998 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5524, allocations: 4 kB / 0.7998 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of Templates: time 0.008252/0.5607, allocations: 5.78 MB / 0.8054 GB, free: 12 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)