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.007213/0.007213, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001751/0.001751, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 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.002135/0.002135, allocations: 291.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.3 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 99.84 kB / 0.6814 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4587, allocations: 86.97 MB / 0.7664 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01523/0.4739, allocations: 15.03 MB / 0.7811 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.4795, allocations: 3.884 MB / 0.7848 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.4801, allocations: 19.88 kB / 0.7849 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.4808, allocations: 190.7 kB / 0.785 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.4826, allocations: 0.6764 MB / 0.7857 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4841, allocations: 479.3 kB / 0.7862 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.4859, allocations: 1.09 MB / 0.7872 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.4863, allocations: 290.8 kB / 0.7875 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.487, allocations: 398.4 kB / 0.7879 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.4874, allocations: 262.8 kB / 0.7881 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.4874, allocations: 20 kB / 0.7882 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.4888, allocations: 0.7212 MB / 0.7889 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.489, allocations: 79.67 kB / 0.7889 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.4892, allocations: 183 kB / 0.7891 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.4904, allocations: 0.7374 MB / 0.7898 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4904, allocations: 0 / 0.7898 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4905, allocations: 0 / 0.7898 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4905, allocations: 0 / 0.7898 GB, free: 11.76 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.001142/0.4916, allocations: 0.7621 MB / 0.7906 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4917, allocations: 8.031 kB / 0.7906 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.4918, allocations: 52.66 kB / 0.7906 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.4927, allocations: 0.5138 MB / 0.7911 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4928, allocations: 16.33 kB / 0.7912 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4928, allocations: 16 kB / 0.7912 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.4932, allocations: 180.2 kB / 0.7913 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4932, allocations: 0 / 0.7913 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.4932, allocations: 8 kB / 0.7913 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4932, allocations: 4 kB / 0.7914 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.4935, allocations: 132.2 kB / 0.7915 GB, free: 9.98 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.001085/0.4946, allocations: 0.8685 MB / 0.7923 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4949, allocations: 118.6 kB / 0.7924 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4951, allocations: 76.75 kB / 0.7925 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.4954, allocations: 332.4 kB / 0.7928 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4954, allocations: 38.55 kB / 0.7929 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 3.417e-06/0.4954, allocations: 0 / 0.7929 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005444/0.496, allocations: 217.2 kB / 0.7931 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.496, allocations: 55.41 kB / 0.7931 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4963, allocations: 349.7 kB / 0.7935 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4964, allocations: 29.7 kB / 0.7935 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4965, allocations: 192.4 kB / 0.7937 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.4966, allocations: 47.58 kB / 0.7937 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.4966, allocations: 33.7 kB / 0.7937 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4968, allocations: 346.8 kB / 0.7941 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4969, allocations: 52.83 kB / 0.7941 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4971, allocations: 84.62 kB / 0.7942 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.4974, allocations: 125.6 kB / 0.7943 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4974, allocations: 0 / 0.7943 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003477/0.4977, allocations: 173.4 kB / 0.7945 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4977, allocations: 10.44 kB / 0.7945 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4978, allocations: 0 / 0.7945 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4978, allocations: 0 / 0.7945 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4979, allocations: 35.91 kB / 0.7945 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.498, allocations: 4 kB / 0.7945 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4981, allocations: 19.88 kB / 0.7946 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.4982, allocations: 4 kB / 0.7946 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002074/0.4984, allocations: 158.5 kB / 0.7947 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000163/0.4986, allocations: 96.39 kB / 0.7948 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002322/0.4988, allocations: 109.6 kB / 0.7949 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.4988, allocations: 4 kB / 0.7949 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000332/0.4991, allocations: 173.3 kB / 0.7951 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.4992, allocations: 4 kB / 0.7951 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.4992, allocations: 8.062 kB / 0.7951 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.4992, allocations: 8.125 kB / 0.7951 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4993, allocations: 23.98 kB / 0.7951 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.4993, allocations: 3.938 kB / 0.7951 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4995, allocations: 23.91 kB / 0.7952 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4995, allocations: 8 kB / 0.7952 GB, free: 5.902 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.0001126/0.4996, allocations: 184.3 kB / 0.7953 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.4997, allocations: 39.7 kB / 0.7954 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.5002, allocations: 224.7 kB / 0.7956 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5002, allocations: 0 / 0.7956 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5002, allocations: 0 / 0.7956 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5002, allocations: 0 / 0.7956 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.5011, allocations: 0.6412 MB / 0.7962 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5011, allocations: 4 kB / 0.7962 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5012, allocations: 27.92 kB / 0.7962 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5013, allocations: 0 / 0.7962 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5013, allocations: 8 kB / 0.7963 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5013, allocations: 4.094 kB / 0.7963 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5013, allocations: 0 / 0.7963 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.5017, allocations: 317.1 kB / 0.7966 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5019, allocations: 136.7 kB / 0.7967 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.5019, allocations: 7.984 kB / 0.7967 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5021, allocations: 15.98 kB / 0.7967 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5022, allocations: 7.984 kB / 0.7967 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5022, allocations: 4 kB / 0.7967 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002525/0.5024, allocations: 255.1 kB / 0.797 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5025, allocations: 0 / 0.797 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006252/0.5031, allocations: 195.4 kB / 0.7972 GB, free: 3.746 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.0005487/0.5036, allocations: 252 kB / 0.7974 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.5042, allocations: 187.8 kB / 0.7976 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.5042, allocations: 0 / 0.7976 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5043, allocations: 79.89 kB / 0.7976 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.5052, allocations: 152.9 kB / 0.7978 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.506, allocations: 0.5704 MB / 0.7983 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.5064, allocations: 0.7957 MB / 0.7991 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.5066, allocations: 75.03 kB / 0.7992 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.5067, allocations: 35.44 kB / 0.7992 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5067, allocations: 0 / 0.7992 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.01236/0.5191, allocations: 6.593 MB / 0.8057 GB, free: 11.07 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)