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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009782, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009861/0.0009862, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.834/1.834, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0008091/0.0008092, allocations: 15.91 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2525, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01559/0.2681, allocations: 12.64 MB / 0.7996 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.2737, allocations: 3.282 MB / 0.8028 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.2742, allocations: 15.94 kB / 0.8028 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.2748, allocations: 175.1 kB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.2766, allocations: 0.6544 MB / 0.8036 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.2783, allocations: 0.5435 MB / 0.8041 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.2797, allocations: 0.7333 MB / 0.8048 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.2801, allocations: 228.7 kB / 0.805 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.2808, allocations: 326.9 kB / 0.8054 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.2811, allocations: 191.1 kB / 0.8055 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.2811, allocations: 12 kB / 0.8056 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.282, allocations: 0.4954 MB / 0.806 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.2821, allocations: 63.69 kB / 0.8061 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.2822, allocations: 97.45 kB / 0.8062 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.2827, allocations: 443 kB / 0.8066 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2827, allocations: 0 / 0.8066 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2827, allocations: 0 / 0.8066 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2827, allocations: 0 / 0.8066 GB, free: 7.988 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.0009571/0.2837, allocations: 0.6773 MB / 0.8073 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2837, allocations: 8.031 kB / 0.8073 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.2838, allocations: 46.55 kB / 0.8073 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.2839, allocations: 51.44 kB / 0.8074 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.2846, allocations: 413.3 kB / 0.8078 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2847, allocations: 16.33 kB / 0.8078 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2847, allocations: 20 kB / 0.8078 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.2851, allocations: 184.2 kB / 0.808 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2851, allocations: 0 / 0.808 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2851, allocations: 4 kB / 0.808 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2851, allocations: 4 kB / 0.808 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.2854, allocations: 156.2 kB / 0.8081 GB, free: 6.32 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.001066/0.2865, allocations: 0.8801 MB / 0.809 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2868, allocations: 126.6 kB / 0.8091 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.2871, allocations: 340.4 kB / 0.8094 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2871, allocations: 30.56 kB / 0.8095 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.2871, allocations: 0 / 0.8095 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005294/0.2877, allocations: 241.3 kB / 0.8097 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2877, allocations: 51.41 kB / 0.8097 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.2881, allocations: 369.7 kB / 0.8101 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2881, allocations: 33.7 kB / 0.8101 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2883, allocations: 196.2 kB / 0.8103 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2883, allocations: 43.45 kB / 0.8104 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.2883, allocations: 0 / 0.8104 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2884, allocations: 346.8 kB / 0.8107 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2885, allocations: 47.91 kB / 0.8107 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2887, allocations: 96.23 kB / 0.8108 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.2889, allocations: 55.91 kB / 0.8109 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2889, allocations: 0 / 0.8109 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003363/0.2892, allocations: 189.1 kB / 0.8111 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.2893, allocations: 186 kB / 0.8112 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2893, allocations: 0 / 0.8112 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2893, allocations: 4 kB / 0.8112 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.2894, allocations: 31.97 kB / 0.8113 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2895, allocations: 7.875 kB / 0.8113 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2897, allocations: 27.91 kB / 0.8113 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2897, allocations: 12 kB / 0.8113 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.2897, allocations: 4 kB / 0.8113 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002744/0.29, allocations: 119.9 kB / 0.8114 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.29, allocations: 4.078 kB / 0.8114 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.29, allocations: 3.984 kB / 0.8114 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2902, allocations: 35.98 kB / 0.8115 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.2902, allocations: 0 / 0.8115 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2904, allocations: 31.83 kB / 0.8115 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2904, allocations: 4 kB / 0.8115 GB, free: 2.582 MB / 0.6231 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.0001392/0.2906, allocations: 229.2 kB / 0.8117 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.2906, allocations: 31.62 kB / 0.8118 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.2911, allocations: 241.1 kB / 0.812 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2911, allocations: 4 kB / 0.812 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2911, allocations: 4 kB / 0.812 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2911, allocations: 7.938 kB / 0.812 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.2919, allocations: 0.6452 MB / 0.8126 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.292, allocations: 8.047 kB / 0.8126 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2921, allocations: 23.98 kB / 0.8127 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2921, allocations: 4 kB / 0.8127 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2921, allocations: 7.953 kB / 0.8127 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2921, allocations: 7.938 kB / 0.8127 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2921, allocations: 0 / 0.8127 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.2925, allocations: 358.8 kB / 0.813 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2927, allocations: 136.5 kB / 0.8132 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.2927, allocations: 7.938 kB / 0.8132 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.293, allocations: 23.97 kB / 0.8132 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.293, allocations: 23.92 kB / 0.8132 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.293, allocations: 4 kB / 0.8132 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002545/0.2933, allocations: 267.1 kB / 0.8135 GB, free: 440 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2933, allocations: 0 / 0.8135 GB, free: 440 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00055/0.2939, allocations: 195.6 kB / 0.8137 GB, free: 244 kB / 0.6231 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.001117/0.295, allocations: 1.255 MB / 0.8149 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.2955, allocations: 206.8 kB / 0.8151 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2955, allocations: 0 / 0.8151 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2957, allocations: 80.08 kB / 0.8152 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.2964, allocations: 145.7 kB / 0.8153 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2989, allocations: 1.989 MB / 0.8172 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2993, allocations: 0.8037 MB / 0.818 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.2995, allocations: 75.25 kB / 0.8181 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2997, allocations: 119.4 kB / 0.8182 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.2997, allocations: 0 / 0.8182 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3231, allocations: 9.972 MB / 0.8279 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.3233, allocations: 231.3 kB / 0.8282 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.722, allocations: 4 kB / 0.8282 GB, free: 1.488 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: