Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00104/0.00104, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01085/0.01085, allocations: 170 kB / 16.26 MB, free: 6.613 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.566/1.566, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005954/0.0005957, allocations: 9.031 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3677, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01757/0.3853, allocations: 14.5 MB / 1.088 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005772/0.3911, allocations: 3.866 MB / 1.092 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.3915, allocations: 19.88 kB / 1.092 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.392, allocations: 151.1 kB / 1.092 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.3935, allocations: 0.6176 MB / 1.093 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3946, allocations: 422.2 kB / 1.093 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.3963, allocations: 1.367 MB / 1.095 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.3968, allocations: 248.8 kB / 1.095 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006627/0.3974, allocations: 366.3 kB / 1.095 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.3978, allocations: 262.8 kB / 1.095 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.3978, allocations: 12 kB / 1.095 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.399, allocations: 0.7055 MB / 1.096 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.3991, allocations: 55.75 kB / 1.096 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3993, allocations: 196.7 kB / 1.096 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.4003, allocations: 0.705 MB / 1.097 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4003, allocations: 0 / 1.097 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4003, allocations: 0 / 1.097 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4003, allocations: 0 / 1.097 GB, free: 15.99 MB / 0.8575 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.001116/0.4014, allocations: 0.6891 MB / 1.098 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4015, allocations: 8.031 kB / 1.098 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.4016, allocations: 44.47 kB / 1.098 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.4024, allocations: 497.8 kB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4025, allocations: 12.33 kB / 1.098 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.4025, allocations: 20 kB / 1.098 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.4029, allocations: 184.1 kB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4029, allocations: 4 kB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.403, allocations: 12 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.403, allocations: 4 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.4034, allocations: 148.2 kB / 1.099 GB, free: 14.3 MB / 0.8575 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.001164/0.4046, allocations: 0.8645 MB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.4049, allocations: 130.6 kB / 1.1 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4051, allocations: 76.81 kB / 1.1 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/0.4054, allocations: 336.4 kB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4054, allocations: 38.56 kB / 1.1 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.4055, allocations: 7.875 kB / 1.1 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006108/0.4061, allocations: 240.9 kB / 1.1 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4061, allocations: 59.41 kB / 1.1 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.4065, allocations: 345.7 kB / 1.101 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.4066, allocations: 25.7 kB / 1.101 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4067, allocations: 192.4 kB / 1.101 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4068, allocations: 43.31 kB / 1.101 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.4068, allocations: 17.7 kB / 1.101 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.407, allocations: 342.8 kB / 1.101 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.4071, allocations: 51.95 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.4073, allocations: 100.2 kB / 1.101 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4076, allocations: 125.6 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4076, allocations: 4 kB / 1.101 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004388/0.4081, allocations: 189.2 kB / 1.102 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.4081, allocations: 101.8 kB / 1.102 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4082, allocations: 4 kB / 1.102 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4082, allocations: 0 / 1.102 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4083, allocations: 23.98 kB / 1.102 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4083, allocations: 11.94 kB / 1.102 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.4086, allocations: 31.91 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.4086, allocations: 4 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.4086, allocations: 4 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003156/0.4089, allocations: 127.9 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.409, allocations: 0 / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.409, allocations: 4 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4091, allocations: 27.97 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4091, allocations: 3.938 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.4093, allocations: 27.89 kB / 1.102 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4093, allocations: 11.98 kB / 1.102 GB, free: 10.5 MB / 0.8575 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.0001804/0.4095, allocations: 225 kB / 1.102 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.4096, allocations: 35.53 kB / 1.102 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.4101, allocations: 239.6 kB / 1.102 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4102, allocations: 7.922 kB / 1.103 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4102, allocations: 0 / 1.103 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4102, allocations: 0 / 1.103 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009686/0.4112, allocations: 0.649 MB / 1.103 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4112, allocations: 0 / 1.103 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.4113, allocations: 36.02 kB / 1.103 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4113, allocations: 0 / 1.103 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4113, allocations: 7.984 kB / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4113, allocations: 3.938 kB / 1.103 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4113, allocations: 0 / 1.103 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.4118, allocations: 325.5 kB / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.4119, allocations: 124.7 kB / 1.104 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.412, allocations: 8 kB / 1.104 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4122, allocations: 27.91 kB / 1.104 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.4123, allocations: 19.92 kB / 1.104 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4123, allocations: 4.062 kB / 1.104 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002626/0.4126, allocations: 247.2 kB / 1.104 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4126, allocations: 0 / 1.104 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007007/0.4133, allocations: 183.7 kB / 1.104 GB, free: 8.254 MB / 0.8575 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.0005918/0.4139, allocations: 250.6 kB / 1.104 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.4144, allocations: 211.8 kB / 1.105 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4145, allocations: 0 / 1.105 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.4146, allocations: 83.83 kB / 1.105 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.4156, allocations: 151.9 kB / 1.105 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.4166, allocations: 0.6894 MB / 1.105 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.417, allocations: 0.7921 MB / 1.106 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000251/0.4172, allocations: 79.41 kB / 1.106 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.4173, allocations: 27.44 kB / 1.106 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.4173, allocations: 0 / 1.106 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.01364/0.431, allocations: 6.288 MB / 1.112 GB, free: 15.73 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)