Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001453/0.001453, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001525/0.001525, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4642/0.6972, allocations: 15.04 MB / 0.7995 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004489/0.7017, allocations: 3.83 MB / 0.8032 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.7023, allocations: 20.91 kB / 0.8032 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.7029, allocations: 189.5 kB / 0.8034 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.7044, allocations: 0.6714 MB / 0.8041 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.7057, allocations: 475.4 kB / 0.8045 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.707, allocations: 1.087 MB / 0.8056 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.7074, allocations: 291.4 kB / 0.8059 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.7081, allocations: 397.6 kB / 0.8062 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.7084, allocations: 264.4 kB / 0.8065 GB, free: 37.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.7084, allocations: 22.72 kB / 0.8065 GB, free: 37.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.7097, allocations: 0.7151 MB / 0.8072 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.7098, allocations: 76.8 kB / 0.8073 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.71, allocations: 184.5 kB / 0.8075 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.711, allocations: 0.7292 MB / 0.8082 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.711, allocations: 0 / 0.8082 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.711, allocations: 0 / 0.8082 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7111, allocations: 0.8438 kB / 0.8082 GB, free: 36.91 MB / 0.6544 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.00107/0.7121, allocations: 0.7492 MB / 0.8089 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7122, allocations: 8.594 kB / 0.8089 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.7123, allocations: 43 kB / 0.809 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.7133, allocations: 0.5082 MB / 0.8095 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.7133, allocations: 12.98 kB / 0.8095 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.7133, allocations: 25.73 kB / 0.8095 GB, free: 35.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.7137, allocations: 177.9 kB / 0.8097 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7137, allocations: 0.75 kB / 0.8097 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.7138, allocations: 8.656 kB / 0.8097 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7138, allocations: 4.109 kB / 0.8097 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.7141, allocations: 138.6 kB / 0.8098 GB, free: 35.79 MB / 0.6544 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.001112/0.7153, allocations: 0.8514 MB / 0.8106 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.7156, allocations: 121.2 kB / 0.8108 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.7158, allocations: 78.83 kB / 0.8108 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.716, allocations: 334.9 kB / 0.8111 GB, free: 34.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.7161, allocations: 36.66 kB / 0.8112 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.7161, allocations: 0 / 0.8112 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.000641/0.7167, allocations: 222.4 kB / 0.8114 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.7168, allocations: 57.56 kB / 0.8115 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.7171, allocations: 344.8 kB / 0.8118 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.7172, allocations: 30.83 kB / 0.8118 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7173, allocations: 192.5 kB / 0.812 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.7173, allocations: 44.06 kB / 0.812 GB, free: 34.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.7174, allocations: 33.81 kB / 0.8121 GB, free: 34.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.7175, allocations: 340.9 kB / 0.8124 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.7176, allocations: 55.94 kB / 0.8124 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.7178, allocations: 93.11 kB / 0.8125 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.7181, allocations: 118.4 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7181, allocations: 1.156 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003908/0.7185, allocations: 177.9 kB / 0.8128 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7185, allocations: 10.31 kB / 0.8128 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7185, allocations: 3.438 kB / 0.8128 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7186, allocations: 0.9375 kB / 0.8128 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.7187, allocations: 25.59 kB / 0.8129 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7187, allocations: 2.406 kB / 0.8129 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7189, allocations: 23.02 kB / 0.8129 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.719, allocations: 8.188 kB / 0.8129 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002118/0.7192, allocations: 159.2 kB / 0.813 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001593/0.7194, allocations: 81.81 kB / 0.8131 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002623/0.7196, allocations: 110.7 kB / 0.8132 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.7196, allocations: 4 kB / 0.8132 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003617/0.72, allocations: 176.5 kB / 0.8134 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.72, allocations: 7.281 kB / 0.8134 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.72, allocations: 1.781 kB / 0.8134 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.72, allocations: 5.25 kB / 0.8134 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.7202, allocations: 23.2 kB / 0.8134 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.7202, allocations: 1.828 kB / 0.8134 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7203, allocations: 18 kB / 0.8135 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.7204, allocations: 9.297 kB / 0.8135 GB, free: 33.18 MB / 0.6544 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 7.068e-05/0.7204, allocations: 192 kB / 0.8136 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.7205, allocations: 43.75 kB / 0.8137 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.721, allocations: 222.5 kB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7211, allocations: 0.75 kB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7211, allocations: 9.094 kB / 0.8139 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.7212, allocations: 128.4 kB / 0.814 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.7212, allocations: 3.375 kB / 0.814 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.7214, allocations: 13.14 kB / 0.814 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.7215, allocations: 11.56 kB / 0.8141 GB, free: 32.73 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004378/0.7219, allocations: 265.9 kB / 0.8143 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004208/0.7224, allocations: 379.3 kB / 0.8147 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001644/0.7225, allocations: 69.59 kB / 0.8147 GB, free: 32.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002654/0.7228, allocations: 245.7 kB / 0.815 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.7228, allocations: 0 / 0.815 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.7243, allocations: 412.3 kB / 0.8154 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001383/0.7256, allocations: 1.093 MB / 0.8164 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.01612/0.7418, allocations: 7.543 MB / 0.8238 GB, free: 30.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)