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.001094/0.001094, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.00113/0.00113, allocations: 183.9 kB / 17.35 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.386/1.386, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002239, allocations: 286.1 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.9732/0.9732, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5385, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01865/0.5572, allocations: 15.04 MB / 0.7817 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00646/0.5637, allocations: 3.883 MB / 0.7855 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.5645, allocations: 19.88 kB / 0.7855 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.5653, allocations: 202.7 kB / 0.7857 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.5677, allocations: 0.696 MB / 0.7864 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.5693, allocations: 480.3 kB / 0.7869 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.5712, allocations: 1.087 MB / 0.7879 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.5719, allocations: 289.5 kB / 0.7882 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009642/0.5729, allocations: 406.4 kB / 0.7886 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.5734, allocations: 266.8 kB / 0.7888 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.5735, allocations: 24 kB / 0.7889 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.575, allocations: 0.7134 MB / 0.7896 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.5752, allocations: 75.69 kB / 0.7896 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.5755, allocations: 190.9 kB / 0.7898 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.577, allocations: 0.727 MB / 0.7905 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5771, allocations: 0 / 0.7905 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.881e-06/0.5771, allocations: 0 / 0.7905 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.5771, allocations: 3.938 kB / 0.7905 GB, free: 11.75 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.001392/0.5785, allocations: 0.7435 MB / 0.7913 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5785, allocations: 12.03 kB / 0.7913 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.5787, allocations: 44.47 kB / 0.7913 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5799, allocations: 0.5057 MB / 0.7918 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5799, allocations: 20.31 kB / 0.7918 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.5799, allocations: 19.94 kB / 0.7918 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.5804, allocations: 180.2 kB / 0.792 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5804, allocations: 0 / 0.792 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.5804, allocations: 11.94 kB / 0.792 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5804, allocations: 4 kB / 0.792 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.5808, allocations: 136.2 kB / 0.7922 GB, free: 9.988 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.00145/0.5822, allocations: 0.8644 MB / 0.793 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.5826, allocations: 118.6 kB / 0.7931 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.5828, allocations: 72.75 kB / 0.7932 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.5832, allocations: 344.4 kB / 0.7935 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.04e-05/0.5833, allocations: 34.56 kB / 0.7936 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.5833, allocations: 0 / 0.7936 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006851/0.584, allocations: 217 kB / 0.7938 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.584, allocations: 55.41 kB / 0.7938 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.5844, allocations: 349.7 kB / 0.7941 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5845, allocations: 29.7 kB / 0.7942 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.5846, allocations: 188.4 kB / 0.7944 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.5847, allocations: 43.39 kB / 0.7944 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5848, allocations: 37.56 kB / 0.7944 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.585, allocations: 346.8 kB / 0.7948 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.5851, allocations: 52.83 kB / 0.7948 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.5853, allocations: 84.23 kB / 0.7949 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.5856, allocations: 121.6 kB / 0.795 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5856, allocations: 0 / 0.795 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004174/0.586, allocations: 173.2 kB / 0.7952 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5861, allocations: 4 kB / 0.7952 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5861, allocations: 7.922 kB / 0.7952 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5861, allocations: 4 kB / 0.7952 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.5863, allocations: 27.92 kB / 0.7952 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5863, allocations: 4.094 kB / 0.7952 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.5865, allocations: 19.83 kB / 0.7952 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.5865, allocations: 4 kB / 0.7952 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000245/0.5868, allocations: 166.5 kB / 0.7954 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001814/0.587, allocations: 84.91 kB / 0.7955 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002549/0.5872, allocations: 117.6 kB / 0.7956 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.5873, allocations: 0 / 0.7956 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0004421/0.5877, allocations: 169.2 kB / 0.7958 GB, free: 6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.5877, allocations: 4 kB / 0.7958 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.5877, allocations: 4 kB / 0.7958 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5878, allocations: 3.938 kB / 0.7958 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5879, allocations: 31.91 kB / 0.7958 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.5879, allocations: 3.984 kB / 0.7958 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.5881, allocations: 19.92 kB / 0.7958 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5881, allocations: 8 kB / 0.7958 GB, free: 5.926 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.0001156/0.5882, allocations: 188.2 kB / 0.796 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.5883, allocations: 35.66 kB / 0.796 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.5888, allocations: 228 kB / 0.7963 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5888, allocations: 11.92 kB / 0.7963 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5888, allocations: 0 / 0.7963 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.589, allocations: 124.6 kB / 0.7964 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.589, allocations: 4 kB / 0.7964 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5892, allocations: 19.89 kB / 0.7964 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.5893, allocations: 7.984 kB / 0.7964 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004425/0.5897, allocations: 264.8 kB / 0.7967 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004693/0.5902, allocations: 378.2 kB / 0.797 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001609/0.5904, allocations: 70.08 kB / 0.7971 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000259/0.5907, allocations: 247.2 kB / 0.7973 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of Backend: time 7.82e-07/0.5907, allocations: 0 / 0.7973 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.5921, allocations: 404.9 kB / 0.7977 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001596/0.5937, allocations: 1.084 MB / 0.7988 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.01499/0.6087, allocations: 7.594 MB / 0.8062 GB, free: 11.33 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)