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.001134/0.001134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001265/0.001265, allocations: 197.2 kB / 16.26 MB, free: 6.621 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.39 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01528/0.3317, allocations: 14.98 MB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.3372, allocations: 3.87 MB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.3377, allocations: 15.94 kB / 1.086 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.3383, allocations: 163.1 kB / 1.086 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.3398, allocations: 0.6223 MB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.341, allocations: 434.3 kB / 1.087 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3425, allocations: 1.087 MB / 1.088 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.3429, allocations: 277.5 kB / 1.089 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.3436, allocations: 414.3 kB / 1.089 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.3439, allocations: 266.8 kB / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.3439, allocations: 24 kB / 1.089 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3451, allocations: 0.7211 MB / 1.09 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.3452, allocations: 71.69 kB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3454, allocations: 183 kB / 1.09 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.3463, allocations: 0.7167 MB / 1.091 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3463, allocations: 3.938 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3463, allocations: 0 / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3463, allocations: 8 kB / 1.091 GB, free: 2.918 MB / 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.001165/0.3475, allocations: 0.7435 MB / 1.092 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3475, allocations: 12.03 kB / 1.092 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.3476, allocations: 40.47 kB / 1.092 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.3485, allocations: 0.4901 MB / 1.092 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3485, allocations: 16.27 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3485, allocations: 23.94 kB / 1.092 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3489, allocations: 180.1 kB / 1.092 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.349, allocations: 7.984 kB / 1.092 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.349, allocations: 4 kB / 1.092 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.349, allocations: 4 kB / 1.092 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.3493, allocations: 135.8 kB / 1.093 GB, free: 1.18 MB / 0.8419 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.001262/0.3506, allocations: 0.8605 MB / 1.093 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3509, allocations: 114.6 kB / 1.094 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3511, allocations: 88.75 kB / 1.094 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/0.3516, allocations: 340.4 kB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3516, allocations: 30.56 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3516, allocations: 0 / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006154/0.3523, allocations: 217.1 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3523, allocations: 55.41 kB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3527, allocations: 349.7 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3527, allocations: 29.7 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3529, allocations: 196.2 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.353, allocations: 35.45 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.353, allocations: 37.56 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3532, allocations: 346.8 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3534, allocations: 52.81 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3536, allocations: 88.69 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3538, allocations: 113.6 kB / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3538, allocations: 4 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00036/0.3542, allocations: 177.2 kB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3542, allocations: 11.94 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3542, allocations: 96 / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3543, allocations: 3.938 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3544, allocations: 27.92 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3544, allocations: 0 / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3547, allocations: 35.91 kB / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3547, allocations: 4 kB / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000203/0.3549, allocations: 152.1 kB / 1.096 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001537/0.3551, allocations: 88.41 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002353/0.3553, allocations: 117.6 kB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.71e-07/0.3553, allocations: 0 / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003543/0.3557, allocations: 177.1 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.3557, allocations: 4 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3557, allocations: 0 / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/0.3557, allocations: 11.88 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3558, allocations: 23.98 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.3559, allocations: 4 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.3561, allocations: 23.97 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3561, allocations: 4 kB / 1.096 GB, free: 13.11 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.0001257/0.3562, allocations: 188.9 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3563, allocations: 43.47 kB / 1.096 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.3568, allocations: 220.7 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3569, allocations: 4 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3569, allocations: 3.984 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3569, allocations: 0 / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3579, allocations: 0.6334 MB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3579, allocations: 4 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.358, allocations: 24.05 kB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3581, allocations: 8.094 kB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3581, allocations: 7.938 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3581, allocations: 4 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3581, allocations: 0 / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3585, allocations: 327.4 kB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3587, allocations: 116.7 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3587, allocations: 8 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.359, allocations: 23.97 kB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.359, allocations: 15.92 kB / 1.098 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.359, allocations: 4 kB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002489/0.3593, allocations: 243.2 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3593, allocations: 3.938 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006612/0.36, allocations: 195.5 kB / 1.098 GB, free: 10.93 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.0006491/0.3606, allocations: 250.1 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.3612, allocations: 197.2 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3612, allocations: 4 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3614, allocations: 79.89 kB / 1.099 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3623, allocations: 147 kB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3633, allocations: 0.6764 MB / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3637, allocations: 0.7918 MB / 1.1 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000284/0.364, allocations: 79.03 kB / 1.1 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.3641, allocations: 27.44 kB / 1.1 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3641, allocations: 0 / 1.1 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of Templates: time 0.01232/0.3764, allocations: 6.505 MB / 1.107 GB, free: 2.23 MB / 0.8575 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)