Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009874/0.0009869, allocations: 90.67 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.007535/0.007535, allocations: 170.9 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 7.938 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3607, allocations: 162.1 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01725/0.378, allocations: 14.51 MB / 1.088 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006046/0.3841, allocations: 3.865 MB / 1.092 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.3846, allocations: 19.88 kB / 1.092 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.3852, allocations: 147.1 kB / 1.092 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.387, allocations: 0.6184 MB / 1.093 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3883, allocations: 429.6 kB / 1.093 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.3902, allocations: 1.368 MB / 1.095 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.3906, allocations: 244.8 kB / 1.095 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.3913, allocations: 370.3 kB / 1.095 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.3917, allocations: 262.8 kB / 1.095 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3917, allocations: 12 kB / 1.095 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.3931, allocations: 0.6938 MB / 1.096 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.3932, allocations: 63.73 kB / 1.096 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3934, allocations: 200.7 kB / 1.096 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.3944, allocations: 0.6971 MB / 1.097 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3944, allocations: 0 / 1.097 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.536e-06/0.3944, allocations: 7.984 kB / 1.097 GB, free: 28 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3944, allocations: 0 / 1.097 GB, free: 28 kB / 0.8419 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.001117/0.3955, allocations: 0.6852 MB / 1.098 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3956, allocations: 12.03 kB / 1.098 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.3957, allocations: 40.47 kB / 1.098 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.3965, allocations: 497.8 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3966, allocations: 16.33 kB / 1.098 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3966, allocations: 20 kB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.397, allocations: 192.1 kB / 1.098 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.397, allocations: 0 / 1.098 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.397, allocations: 4 kB / 1.098 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.397, allocations: 4 kB / 1.098 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.3974, allocations: 156.2 kB / 1.099 GB, free: 14.33 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.001138/0.3985, allocations: 0.8567 MB / 1.099 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3989, allocations: 134.6 kB / 1.1 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.399, allocations: 72.81 kB / 1.1 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.3994, allocations: 336.4 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3994, allocations: 30.56 kB / 1.1 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3994, allocations: 7.938 kB / 1.1 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005893/0.4, allocations: 241 kB / 1.1 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4001, allocations: 59.41 kB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.4005, allocations: 349.7 kB / 1.101 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.4005, allocations: 25.7 kB / 1.101 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4006, allocations: 188.4 kB / 1.101 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.4007, allocations: 43.3 kB / 1.101 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.4007, allocations: 21.7 kB / 1.101 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4009, allocations: 342.8 kB / 1.101 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.401, allocations: 51.95 kB / 1.101 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.4012, allocations: 96.19 kB / 1.101 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.4015, allocations: 133.5 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4015, allocations: 0 / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004114/0.402, allocations: 189.2 kB / 1.102 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4021, allocations: 111.2 kB / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4021, allocations: 0 / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4021, allocations: 0 / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4023, allocations: 27.98 kB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4023, allocations: 3.938 kB / 1.102 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.4025, allocations: 31.91 kB / 1.102 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.4026, allocations: 8 kB / 1.102 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.4026, allocations: 4 kB / 1.102 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003367/0.4029, allocations: 119.9 kB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.4029, allocations: 4 kB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/0.4029, allocations: 0 / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4031, allocations: 23.98 kB / 1.102 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4031, allocations: 11.92 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.4033, allocations: 32.8 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4033, allocations: 8 kB / 1.102 GB, free: 10.54 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.0002115/0.4035, allocations: 225 kB / 1.102 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.4036, allocations: 35.53 kB / 1.102 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.4042, allocations: 239 kB / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4042, allocations: 7.922 kB / 1.103 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4042, allocations: 0 / 1.103 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4042, allocations: 0 / 1.103 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.4052, allocations: 0.649 MB / 1.103 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4052, allocations: 0 / 1.103 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4053, allocations: 35.92 kB / 1.103 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4053, allocations: 0 / 1.103 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4053, allocations: 4 kB / 1.103 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4053, allocations: 8.031 kB / 1.103 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4053, allocations: 3.984 kB / 1.103 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.4058, allocations: 325.5 kB / 1.103 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4059, allocations: 124.7 kB / 1.104 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.406, allocations: 8 kB / 1.104 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4062, allocations: 23.91 kB / 1.104 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4063, allocations: 19.92 kB / 1.104 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4063, allocations: 8 kB / 1.104 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002611/0.4066, allocations: 247.2 kB / 1.104 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4066, allocations: 0 / 1.104 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006407/0.4072, allocations: 183.7 kB / 1.104 GB, free: 8.289 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.0005549/0.4078, allocations: 247.3 kB / 1.104 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.4084, allocations: 207.8 kB / 1.105 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4084, allocations: 0 / 1.105 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.4086, allocations: 92.2 kB / 1.105 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.4095, allocations: 148.4 kB / 1.105 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4107, allocations: 0.6894 MB / 1.105 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.4112, allocations: 0.796 MB / 1.106 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.4114, allocations: 71.06 kB / 1.106 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.4115, allocations: 31.42 kB / 1.106 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.4115, allocations: 0 / 1.106 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of Templates: time 0.01254/0.4241, allocations: 6.289 MB / 1.112 GB, free: 15.77 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)