Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.4 MB / 303.3 MB, free: 8.23 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.0012/0.0012, allocations: 179.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007359/0.0007359, allocations: 104.7 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 15.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0133/0.2634, allocations: 13.76 MB / 0.9931 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.2683, allocations: 3.571 MB / 0.9966 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.2688, allocations: 19.88 kB / 0.9966 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.2694, allocations: 139.1 kB / 0.9967 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.271, allocations: 0.5618 MB / 0.9973 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2721, allocations: 404 kB / 0.9977 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2736, allocations: 1.185 MB / 0.9988 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.2741, allocations: 224.6 kB / 0.999 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.2748, allocations: 350.4 kB / 0.9994 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.2751, allocations: 254.8 kB / 0.9996 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.2752, allocations: 12 kB / 0.9996 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2764, allocations: 0.6315 MB / 1 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.2765, allocations: 55.75 kB / 1 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/0.2766, allocations: 97.45 kB / 1 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.2772, allocations: 490.9 kB / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2773, allocations: 0 / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2773, allocations: 0 / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.2773, allocations: 4 kB / 1.001 GB, free: 5.801 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.001009/0.2783, allocations: 0.6903 MB / 1.002 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2784, allocations: 8.031 kB / 1.002 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.2784, allocations: 50.55 kB / 1.002 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.2785, allocations: 43.44 kB / 1.002 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.2793, allocations: 497 kB / 1.002 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2794, allocations: 16.33 kB / 1.002 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.2794, allocations: 16 kB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.2798, allocations: 180.2 kB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2798, allocations: 0 / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2798, allocations: 8 kB / 1.002 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2798, allocations: 4 kB / 1.002 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2801, allocations: 152.2 kB / 1.002 GB, free: 4.055 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.0009555/0.2811, allocations: 0.8684 MB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.2814, allocations: 122.6 kB / 1.003 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2815, allocations: 76.81 kB / 1.003 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.2818, allocations: 340.3 kB / 1.004 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2818, allocations: 30.56 kB / 1.004 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2818, allocations: 0 / 1.004 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005371/0.2824, allocations: 237.1 kB / 1.004 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2824, allocations: 51.41 kB / 1.004 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.2827, allocations: 349.6 kB / 1.004 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2827, allocations: 25.7 kB / 1.004 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.2828, allocations: 204.2 kB / 1.005 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.2829, allocations: 39.44 kB / 1.005 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2829, allocations: 4 kB / 1.005 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.283, allocations: 338.8 kB / 1.005 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.2831, allocations: 51.95 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2833, allocations: 96.19 kB / 1.005 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2834, allocations: 51.97 kB / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2834, allocations: 0 / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003194/0.2838, allocations: 185.2 kB / 1.005 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.2838, allocations: 101.8 kB / 1.006 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2838, allocations: 0 / 1.006 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2838, allocations: 11.98 kB / 1.006 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.284, allocations: 31.92 kB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.284, allocations: 0 / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.2842, allocations: 31.81 kB / 1.006 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2843, allocations: 8 kB / 1.006 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-06/0.2843, allocations: 4 kB / 1.006 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000263/0.2845, allocations: 123.9 kB / 1.006 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.2846, allocations: 0 / 1.006 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-06/0.2846, allocations: 192 / 1.006 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2847, allocations: 31.98 kB / 1.006 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.2847, allocations: 7.875 kB / 1.006 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.2849, allocations: 31.88 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2849, allocations: 4 kB / 1.006 GB, free: 384 kB / 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.0001339/0.285, allocations: 226.6 kB / 1.006 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2851, allocations: 31.62 kB / 1.006 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.2856, allocations: 237.1 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2856, allocations: 0 / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2856, allocations: 0 / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2856, allocations: 15.92 kB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.2865, allocations: 0.6392 MB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2866, allocations: 4.094 kB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2867, allocations: 35.92 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2867, allocations: 0 / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2867, allocations: 4 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2867, allocations: 0 / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2867, allocations: 7.938 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.2872, allocations: 329.6 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.2873, allocations: 136.6 kB / 1.007 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.2874, allocations: 4 kB / 1.007 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2876, allocations: 31.91 kB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.2877, allocations: 11.94 kB / 1.007 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.2877, allocations: 12 kB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002377/0.2879, allocations: 239.2 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2879, allocations: 4 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005955/0.2885, allocations: 191.7 kB / 1.008 GB, free: 14.12 MB / 0.6355 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.0012/0.2897, allocations: 0.986 MB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.2903, allocations: 207.7 kB / 1.009 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2903, allocations: 0 / 1.009 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2905, allocations: 88.08 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.2914, allocations: 141.4 kB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.2943, allocations: 1.766 MB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.2947, allocations: 0.8036 MB / 1.012 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.295, allocations: 75.25 kB / 1.012 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2951, allocations: 115.4 kB / 1.012 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.2952, allocations: 0 / 1.012 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.321, allocations: 9.566 MB / 1.021 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.3213, allocations: 240.1 kB / 1.021 GB, free: 224 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.616, allocations: 0 / 1.021 GB, free: 224 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)