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.001856/0.001856, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002023/0.002023, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002587/0.002587, allocations: 274.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.197/1.197, allocations: 178.5 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 103.8 kB / 0.6071 GB, free: 9.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1843, allocations: 89.13 MB / 0.6942 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01734/0.2017, allocations: 15.02 MB / 0.7088 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2864/0.4882, allocations: 3.883 MB / 0.7126 GB, free: 37.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.4887, allocations: 22.31 kB / 0.7126 GB, free: 37.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.4893, allocations: 185.5 kB / 0.7128 GB, free: 37.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.4908, allocations: 0.6837 MB / 0.7135 GB, free: 37.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4919, allocations: 468 kB / 0.7139 GB, free: 37.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.493, allocations: 1.084 MB / 0.715 GB, free: 37.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.4934, allocations: 278 kB / 0.7153 GB, free: 37.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.4939, allocations: 406.9 kB / 0.7156 GB, free: 37.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.4941, allocations: 262.3 kB / 0.7159 GB, free: 37.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.4941, allocations: 21.88 kB / 0.7159 GB, free: 37.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009768/0.4951, allocations: 0.7186 MB / 0.7166 GB, free: 37.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.4952, allocations: 75.73 kB / 0.7167 GB, free: 37.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.4954, allocations: 188.1 kB / 0.7169 GB, free: 37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.4961, allocations: 0.7108 MB / 0.7176 GB, free: 36.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4961, allocations: 4 kB / 0.7176 GB, free: 36.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4961, allocations: 3.594 kB / 0.7176 GB, free: 36.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.4962, allocations: 0 / 0.7176 GB, free: 36.88 MB / 0.545 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.0008494/0.497, allocations: 0.7361 MB / 0.7183 GB, free: 36.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4971, allocations: 14.53 kB / 0.7183 GB, free: 36.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.4971, allocations: 47.02 kB / 0.7183 GB, free: 36.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.4978, allocations: 0.4919 MB / 0.7188 GB, free: 36.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4978, allocations: 13.36 kB / 0.7188 GB, free: 36.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4979, allocations: 18.56 kB / 0.7189 GB, free: 36.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4982, allocations: 182 kB / 0.719 GB, free: 36.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4982, allocations: 3.281 kB / 0.719 GB, free: 36.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4982, allocations: 6.344 kB / 0.719 GB, free: 36.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4982, allocations: 3.219 kB / 0.719 GB, free: 36.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.4985, allocations: 137.9 kB / 0.7192 GB, free: 36.01 MB / 0.545 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.0008401/0.4994, allocations: 0.8706 MB / 0.72 GB, free: 35.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4996, allocations: 119 kB / 0.7201 GB, free: 35.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4998, allocations: 70.05 kB / 0.7202 GB, free: 35.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.5, allocations: 338.6 kB / 0.7205 GB, free: 35.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5, allocations: 37.5 kB / 0.7206 GB, free: 34.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.5, allocations: 4 kB / 0.7206 GB, free: 34.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0004908/0.5005, allocations: 221.4 kB / 0.7208 GB, free: 34.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.5006, allocations: 54.06 kB / 0.7208 GB, free: 34.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5008, allocations: 339.8 kB / 0.7211 GB, free: 34.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5008, allocations: 32.17 kB / 0.7212 GB, free: 34.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.5009, allocations: 194.1 kB / 0.7214 GB, free: 34.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.501, allocations: 41.78 kB / 0.7214 GB, free: 34.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.501, allocations: 39.97 kB / 0.7214 GB, free: 34.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.5011, allocations: 341.2 kB / 0.7218 GB, free: 34.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5012, allocations: 48.02 kB / 0.7218 GB, free: 34.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.5014, allocations: 89.97 kB / 0.7219 GB, free: 34.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5016, allocations: 121.4 kB / 0.722 GB, free: 34.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5016, allocations: 0 / 0.722 GB, free: 34.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003081/0.5019, allocations: 182.2 kB / 0.7222 GB, free: 34.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5019, allocations: 9.75 kB / 0.7222 GB, free: 34.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5019, allocations: 8.375 kB / 0.7222 GB, free: 34.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.502, allocations: 0 / 0.7222 GB, free: 34.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5021, allocations: 27.92 kB / 0.7222 GB, free: 34.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.5021, allocations: 3.422 kB / 0.7222 GB, free: 34.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.5023, allocations: 20.09 kB / 0.7223 GB, free: 34.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.5023, allocations: 5.25 kB / 0.7223 GB, free: 34.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001698/0.5025, allocations: 158.2 kB / 0.7224 GB, free: 34.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001259/0.5026, allocations: 85.52 kB / 0.7225 GB, free: 34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000206/0.5028, allocations: 114.8 kB / 0.7226 GB, free: 33.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.5028, allocations: 0 / 0.7226 GB, free: 33.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002993/0.5031, allocations: 170.2 kB / 0.7228 GB, free: 33.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.5032, allocations: 5.406 kB / 0.7228 GB, free: 33.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.5032, allocations: 0 / 0.7228 GB, free: 33.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.5032, allocations: 11.41 kB / 0.7228 GB, free: 33.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5033, allocations: 26.05 kB / 0.7228 GB, free: 33.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.5033, allocations: 3.062 kB / 0.7228 GB, free: 33.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.5035, allocations: 25.3 kB / 0.7228 GB, free: 33.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5035, allocations: 3 kB / 0.7228 GB, free: 33.91 MB / 0.545 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 5.622e-05/0.5035, allocations: 183.1 kB / 0.723 GB, free: 33.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.5036, allocations: 33.97 kB / 0.723 GB, free: 33.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.504, allocations: 243.2 kB / 0.7233 GB, free: 33.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.504, allocations: 2.438 kB / 0.7233 GB, free: 33.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.504, allocations: 0.5 kB / 0.7233 GB, free: 33.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.504, allocations: 2.688 kB / 0.7233 GB, free: 33.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.5047, allocations: 0.6354 MB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.5047, allocations: 3.5 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.5048, allocations: 24.59 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5048, allocations: 2.906 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5048, allocations: 3.156 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5049, allocations: 1.312 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5049, allocations: 3.188 kB / 0.7239 GB, free: 33.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.5052, allocations: 319.3 kB / 0.7242 GB, free: 33.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.5053, allocations: 129.7 kB / 0.7244 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.5053, allocations: 6.25 kB / 0.7244 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5055, allocations: 17.16 kB / 0.7244 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5056, allocations: 13.3 kB / 0.7244 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5056, allocations: 3.25 kB / 0.7244 GB, free: 33.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001762/0.5058, allocations: 249.6 kB / 0.7246 GB, free: 32.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5058, allocations: 0 / 0.7246 GB, free: 32.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005222/0.5063, allocations: 186.9 kB / 0.7248 GB, free: 32.89 MB / 0.545 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.0004431/0.5067, allocations: 257.7 kB / 0.7251 GB, free: 32.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.5072, allocations: 201.3 kB / 0.7253 GB, free: 32.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5072, allocations: 0 / 0.7253 GB, free: 32.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5074, allocations: 87.03 kB / 0.7253 GB, free: 32.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.5081, allocations: 148.2 kB / 0.7255 GB, free: 32.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.5089, allocations: 0.5937 MB / 0.7261 GB, free: 32.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.509, allocations: 0.7919 MB / 0.7268 GB, free: 31.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.5091, allocations: 27.47 kB / 0.7269 GB, free: 31.69 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5091, allocations: 0 / 0.7269 GB, free: 31.69 MB / 0.545 GB Notification: Performance of Templates: time 0.00688/0.516, allocations: 5.768 MB / 0.7325 GB, free: 31.12 MB / 0.545 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)