Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.83/2.83, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002734/0.002734, allocations: 182.2 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001218, allocations: 93.67 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005577, allocations: 16.44 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.223, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0168/0.2399, allocations: 12.64 MB / 0.9906 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006185/0.2461, allocations: 3.275 MB / 0.9938 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.2468, allocations: 19.88 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.2476, allocations: 179.1 kB / 0.994 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.2502, allocations: 0.6518 MB / 0.9946 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.2525, allocations: 0.5408 MB / 0.9952 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.2543, allocations: 0.7318 MB / 0.9959 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.2549, allocations: 220.8 kB / 0.9961 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008531/0.2557, allocations: 330.9 kB / 0.9964 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.2561, allocations: 183.2 kB / 0.9966 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.2561, allocations: 12 kB / 0.9966 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.2575, allocations: 0.507 MB / 0.9971 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2576, allocations: 59.75 kB / 0.9971 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2578, allocations: 93.45 kB / 0.9972 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009267/0.2587, allocations: 447 kB / 0.9977 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2587, allocations: 0 / 0.9977 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2587, allocations: 0 / 0.9977 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2587, allocations: 3.938 kB / 0.9977 GB, free: 8.402 MB / 0.6198 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.001299/0.26, allocations: 0.6734 MB / 0.9983 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2601, allocations: 8.031 kB / 0.9983 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.2602, allocations: 50.55 kB / 0.9984 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.2603, allocations: 47.44 kB / 0.9984 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.2614, allocations: 433.3 kB / 0.9988 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2615, allocations: 16.33 kB / 0.9989 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.2615, allocations: 19.98 kB / 0.9989 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.262, allocations: 184.1 kB / 0.999 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2621, allocations: 0 / 0.999 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2621, allocations: 4 kB / 0.9991 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2621, allocations: 4 kB / 0.9991 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.2627, allocations: 152.2 kB / 0.9992 GB, free: 6.727 MB / 0.6198 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.001516/0.2642, allocations: 0.8762 MB / 1 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.2647, allocations: 138.6 kB / 1 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.265, allocations: 332.4 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.265, allocations: 34.56 kB / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.265, allocations: 0 / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0008556/0.2659, allocations: 237.6 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2659, allocations: 55.41 kB / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.2665, allocations: 365.7 kB / 1.001 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2665, allocations: 33.7 kB / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.2666, allocations: 200.2 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.2667, allocations: 35.47 kB / 1.001 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.2667, allocations: 0 / 1.001 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.2668, allocations: 346.8 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.267, allocations: 43.97 kB / 1.002 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.2673, allocations: 100.3 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.2675, allocations: 67.91 kB / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2676, allocations: 0 / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006049/0.2682, allocations: 193 kB / 1.002 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.2683, allocations: 183.5 kB / 1.002 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2683, allocations: 4 kB / 1.002 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2683, allocations: 4.062 kB / 1.002 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2685, allocations: 31.97 kB / 1.002 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2686, allocations: 0 / 1.002 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.269, allocations: 35.91 kB / 1.002 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.2691, allocations: 11.94 kB / 1.002 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.2691, allocations: 4 kB / 1.002 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004571/0.2695, allocations: 119.9 kB / 1.003 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2696, allocations: 3.938 kB / 1.003 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/0.2696, allocations: 4 kB / 1.003 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2698, allocations: 27.98 kB / 1.003 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2698, allocations: 3.953 kB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.2702, allocations: 31.81 kB / 1.003 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2703, allocations: 8 kB / 1.003 GB, free: 2.98 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.2705, allocations: 225.1 kB / 1.003 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.2706, allocations: 35.53 kB / 1.003 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.2713, allocations: 238.8 kB / 1.003 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.2713, allocations: 4 kB / 1.003 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2713, allocations: 3.953 kB / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2713, allocations: 3.984 kB / 1.003 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.2726, allocations: 0.653 MB / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2726, allocations: 0 / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.2728, allocations: 27.98 kB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.2728, allocations: 3.953 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2729, allocations: 8 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2729, allocations: 0 / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2729, allocations: 4 kB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.2735, allocations: 366.7 kB / 1.004 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2737, allocations: 128.7 kB / 1.004 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.2738, allocations: 8.188 kB / 1.004 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.2742, allocations: 27.88 kB / 1.004 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.2743, allocations: 23.86 kB / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.2743, allocations: 4 kB / 1.004 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003908/0.2747, allocations: 267.1 kB / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2747, allocations: 0 / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008839/0.2756, allocations: 203.7 kB / 1.005 GB, free: 0.6289 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00187/0.2775, allocations: 1.248 MB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.2785, allocations: 211.8 kB / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2785, allocations: 0 / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.2788, allocations: 84.08 kB / 1.006 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2801, allocations: 149.4 kB / 1.006 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.2846, allocations: 1.978 MB / 1.008 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.2851, allocations: 0.8115 MB / 1.009 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004787/0.2856, allocations: 70.84 kB / 1.009 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2859, allocations: 115.4 kB / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.2859, allocations: 4 kB / 1.009 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/0.3271, allocations: 9.937 MB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/0.3275, allocations: 230.8 kB / 1.019 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.218, allocations: 0 / 1.019 GB, free: 1.902 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)