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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.607/1.607, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.883/1.883, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001478/0.001478, allocations: 68.38 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2953, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01723/0.3126, allocations: 15.04 MB / 0.798 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006388/0.319, allocations: 3.822 MB / 0.8018 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.3198, allocations: 23.88 kB / 0.8018 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.3205, allocations: 194.7 kB / 0.802 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.3225, allocations: 0.6764 MB / 0.8026 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.3241, allocations: 473.6 kB / 0.8031 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3257, allocations: 1.076 MB / 0.8042 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.3262, allocations: 291.9 kB / 0.8044 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.3269, allocations: 402.5 kB / 0.8048 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.3272, allocations: 266.8 kB / 0.8051 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.3273, allocations: 20 kB / 0.8051 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3286, allocations: 0.7057 MB / 0.8058 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3288, allocations: 75.62 kB / 0.8058 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.329, allocations: 190.9 kB / 0.806 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3301, allocations: 0.7167 MB / 0.8067 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3301, allocations: 0 / 0.8067 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3301, allocations: 4 kB / 0.8067 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3301, allocations: 0 / 0.8067 GB, free: 5.465 MB / 0.6231 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.00118/0.3313, allocations: 0.7397 MB / 0.8075 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3313, allocations: 8.031 kB / 0.8075 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3314, allocations: 48.47 kB / 0.8075 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.3323, allocations: 0.4976 MB / 0.808 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3324, allocations: 16.33 kB / 0.808 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.3324, allocations: 23.88 kB / 0.808 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.3328, allocations: 176.2 kB / 0.8082 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3328, allocations: 7.984 kB / 0.8082 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3328, allocations: 4 kB / 0.8082 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3329, allocations: 4 kB / 0.8082 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.3332, allocations: 143.8 kB / 0.8084 GB, free: 3.711 MB / 0.6231 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.001159/0.3344, allocations: 0.8567 MB / 0.8092 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.3346, allocations: 122.6 kB / 0.8093 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3348, allocations: 76.75 kB / 0.8094 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/0.3352, allocations: 336.4 kB / 0.8097 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.3352, allocations: 34.5 kB / 0.8097 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.3353, allocations: 0 / 0.8097 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005883/0.3358, allocations: 225 kB / 0.8099 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3359, allocations: 51.41 kB / 0.81 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3362, allocations: 349.7 kB / 0.8103 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3363, allocations: 25.7 kB / 0.8104 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3364, allocations: 192.3 kB / 0.8105 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3364, allocations: 35.45 kB / 0.8106 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3365, allocations: 41.61 kB / 0.8106 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3366, allocations: 342.8 kB / 0.8109 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3368, allocations: 56.75 kB / 0.811 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3369, allocations: 84.25 kB / 0.8111 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.3372, allocations: 117.6 kB / 0.8112 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3372, allocations: 3.938 kB / 0.8112 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003669/0.3376, allocations: 173.2 kB / 0.8114 GB, free: 368 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3376, allocations: 11.94 kB / 0.8114 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3376, allocations: 144 / 0.8114 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3377, allocations: 7.922 kB / 0.8114 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3378, allocations: 23.98 kB / 0.8114 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3378, allocations: 4 kB / 0.8114 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.338, allocations: 27.81 kB / 0.8114 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3381, allocations: 8 kB / 0.8114 GB, free: 284 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002106/0.3383, allocations: 156.7 kB / 0.8116 GB, free: 124 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001442/0.3384, allocations: 84.25 kB / 0.8117 GB, free: 24 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002549/0.3387, allocations: 121.6 kB / 0.8118 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3387, allocations: 0 / 0.8118 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003275/0.339, allocations: 169.2 kB / 0.8119 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.3391, allocations: 4 kB / 0.8119 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.3391, allocations: 3.938 kB / 0.812 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.3391, allocations: 0 / 0.812 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3392, allocations: 32.05 kB / 0.812 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-06/0.3392, allocations: 0 / 0.812 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.3394, allocations: 23.98 kB / 0.812 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3394, allocations: 7.984 kB / 0.812 GB, free: 15.66 MB / 0.6387 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.000112/0.3395, allocations: 184.3 kB / 0.8122 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3396, allocations: 39.47 kB / 0.8122 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.3402, allocations: 229.4 kB / 0.8124 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3402, allocations: 4 kB / 0.8124 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3402, allocations: 0 / 0.8124 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3402, allocations: 0 / 0.8124 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.3412, allocations: 0.6256 MB / 0.8131 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3412, allocations: 3.938 kB / 0.8131 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3413, allocations: 27.97 kB / 0.8131 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3413, allocations: 4.094 kB / 0.8131 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3413, allocations: 7.938 kB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3413, allocations: 4 kB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3413, allocations: 3.938 kB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.3418, allocations: 331.7 kB / 0.8134 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3419, allocations: 120.7 kB / 0.8135 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.3419, allocations: 4 kB / 0.8135 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3421, allocations: 15.97 kB / 0.8136 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.3422, allocations: 19.98 kB / 0.8136 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3422, allocations: 4 kB / 0.8136 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002493/0.3425, allocations: 247.1 kB / 0.8138 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3425, allocations: 0 / 0.8138 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006111/0.3431, allocations: 187.6 kB / 0.814 GB, free: 13.49 MB / 0.6387 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.0005972/0.3437, allocations: 267.8 kB / 0.8143 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.3443, allocations: 191.8 kB / 0.8144 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3443, allocations: 4 kB / 0.8144 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3445, allocations: 75.89 kB / 0.8145 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.3453, allocations: 159.2 kB / 0.8147 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.3462, allocations: 0.5633 MB / 0.8152 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3466, allocations: 0.7918 MB / 0.816 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.3469, allocations: 74.91 kB / 0.8161 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.347, allocations: 31.44 kB / 0.8161 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.347, allocations: 0 / 0.8161 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.01314/0.3601, allocations: 6.58 MB / 0.8225 GB, free: 4.824 MB / 0.6387 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)