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.001077/0.001077, allocations: 111.6 kB / 16.42 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.001042/0.001042, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.002179, allocations: 297.1 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.9412/0.9412, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5173, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01532/0.5326, allocations: 15.04 MB / 0.7817 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.5381, allocations: 3.887 MB / 0.7855 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.5386, allocations: 19.88 kB / 0.7855 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.5392, allocations: 190.7 kB / 0.7857 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.5408, allocations: 0.6764 MB / 0.7864 GB, free: 32 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5421, allocations: 477.8 kB / 0.7868 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.5434, allocations: 1.083 MB / 0.7879 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.5439, allocations: 294.3 kB / 0.7882 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.5445, allocations: 410.4 kB / 0.7886 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.5449, allocations: 262.8 kB / 0.7888 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.5449, allocations: 20 kB / 0.7888 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.5461, allocations: 0.7251 MB / 0.7896 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.5462, allocations: 67.7 kB / 0.7896 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.5464, allocations: 190.9 kB / 0.7898 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.5474, allocations: 0.727 MB / 0.7905 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5474, allocations: 3.938 kB / 0.7905 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5474, allocations: 0 / 0.7905 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5474, allocations: 0 / 0.7905 GB, free: 11.8 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.001156/0.5486, allocations: 0.7513 MB / 0.7912 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5486, allocations: 12.03 kB / 0.7913 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.5487, allocations: 40.47 kB / 0.7913 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.5497, allocations: 0.5095 MB / 0.7918 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5497, allocations: 16.33 kB / 0.7918 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.5498, allocations: 20 kB / 0.7918 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.5501, allocations: 176.2 kB / 0.792 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5502, allocations: 0 / 0.792 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.5502, allocations: 4 kB / 0.792 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5502, allocations: 4 kB / 0.792 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.5505, allocations: 144.2 kB / 0.7921 GB, free: 10.04 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.001111/0.5517, allocations: 0.8605 MB / 0.793 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.5519, allocations: 114.6 kB / 0.7931 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.5521, allocations: 76.81 kB / 0.7932 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.5525, allocations: 340.3 kB / 0.7935 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.5525, allocations: 34.56 kB / 0.7935 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.5525, allocations: 0 / 0.7935 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006806/0.5532, allocations: 221 kB / 0.7937 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5533, allocations: 55.41 kB / 0.7938 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.5537, allocations: 345.7 kB / 0.7941 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5537, allocations: 33.7 kB / 0.7941 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5538, allocations: 188.4 kB / 0.7943 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.5539, allocations: 43.38 kB / 0.7944 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.554, allocations: 37.61 kB / 0.7944 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5541, allocations: 342.8 kB / 0.7947 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5543, allocations: 56.75 kB / 0.7948 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5544, allocations: 88.69 kB / 0.7949 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.5547, allocations: 113.6 kB / 0.795 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5547, allocations: 0 / 0.795 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003564/0.5551, allocations: 185.1 kB / 0.7952 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5551, allocations: 6.656 kB / 0.7952 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5551, allocations: 3.938 kB / 0.7952 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5552, allocations: 4 kB / 0.7952 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.5553, allocations: 27.92 kB / 0.7952 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5553, allocations: 0 / 0.7952 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.5555, allocations: 19.89 kB / 0.7952 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.5556, allocations: 11.98 kB / 0.7952 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002157/0.5558, allocations: 156.1 kB / 0.7954 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001543/0.5559, allocations: 84.41 kB / 0.7955 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002468/0.5562, allocations: 113.7 kB / 0.7956 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.5562, allocations: 4 kB / 0.7956 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003392/0.5566, allocations: 169.2 kB / 0.7957 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.5566, allocations: 8 kB / 0.7957 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.5566, allocations: 7.984 kB / 0.7957 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/0.5566, allocations: 3.938 kB / 0.7957 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5567, allocations: 23.98 kB / 0.7958 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5567, allocations: 0 / 0.7958 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.5569, allocations: 27.86 kB / 0.7958 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5569, allocations: 4 kB / 0.7958 GB, free: 5.977 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.0001108/0.557, allocations: 188.4 kB / 0.796 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.5571, allocations: 43.52 kB / 0.796 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.5576, allocations: 220.7 kB / 0.7962 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5576, allocations: 3.984 kB / 0.7962 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5576, allocations: 0 / 0.7962 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5577, allocations: 128.6 kB / 0.7964 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.5578, allocations: 4 kB / 0.7964 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.558, allocations: 15.89 kB / 0.7964 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.558, allocations: 7.984 kB / 0.7964 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004398/0.5585, allocations: 263.8 kB / 0.7966 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000472/0.559, allocations: 378.2 kB / 0.797 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001535/0.5591, allocations: 67.95 kB / 0.7971 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002501/0.5594, allocations: 255.1 kB / 0.7973 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of Backend: time 6.11e-07/0.5594, allocations: 0 / 0.7973 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.5608, allocations: 410.4 kB / 0.7977 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001509/0.5623, allocations: 1.072 MB / 0.7987 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of Templates: time 0.01295/0.5753, allocations: 7.592 MB / 0.8062 GB, free: 11.38 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)