Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 173.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.5775 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12.28 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01039/0.2368, allocations: 12.65 MB / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.2409, allocations: 3.264 MB / 0.9157 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.2413, allocations: 19.88 kB / 0.9157 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.2418, allocations: 175.1 kB / 0.9159 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.2433, allocations: 0.6583 MB / 0.9165 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.2446, allocations: 0.5004 MB / 0.917 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2457, allocations: 0.7297 MB / 0.9177 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.2461, allocations: 232.6 kB / 0.9179 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.2466, allocations: 330.9 kB / 0.9182 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2468, allocations: 187.1 kB / 0.9184 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.2469, allocations: 12 kB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.2477, allocations: 0.4992 MB / 0.9189 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.2477, allocations: 59.73 kB / 0.919 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.2478, allocations: 93.52 kB / 0.9191 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.2483, allocations: 443.3 kB / 0.9195 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2483, allocations: 4 kB / 0.9195 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2483, allocations: 0 / 0.9195 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2483, allocations: 0 / 0.9195 GB, free: 44.49 MB / 0.6042 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.0009461/0.2493, allocations: 0.6734 MB / 0.9202 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2493, allocations: 16.02 kB / 0.9202 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.2494, allocations: 50.55 kB / 0.9202 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.2495, allocations: 39.53 kB / 0.9203 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.2503, allocations: 441.1 kB / 0.9207 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2503, allocations: 12.33 kB / 0.9207 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.2503, allocations: 20 kB / 0.9207 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.2507, allocations: 176.9 kB / 0.9209 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.2507, allocations: 4 kB / 0.9209 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2507, allocations: 4 kB / 0.9209 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2507, allocations: 7.938 kB / 0.9209 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.251, allocations: 152.2 kB / 0.921 GB, free: 42.81 MB / 0.6042 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.0009529/0.252, allocations: 0.884 MB / 0.9219 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.2523, allocations: 134.6 kB / 0.922 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.2525, allocations: 336.4 kB / 0.9224 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2525, allocations: 34.55 kB / 0.9224 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2525, allocations: 3.938 kB / 0.9224 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000512/0.2531, allocations: 237.1 kB / 0.9226 GB, free: 41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2531, allocations: 51.41 kB / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.2534, allocations: 369.7 kB / 0.923 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2534, allocations: 29.7 kB / 0.923 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.2535, allocations: 192.3 kB / 0.9232 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2536, allocations: 47.38 kB / 0.9233 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.2536, allocations: 4.219 kB / 0.9233 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.2537, allocations: 342.8 kB / 0.9236 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2538, allocations: 51.91 kB / 0.9237 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2539, allocations: 96.62 kB / 0.9237 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2541, allocations: 51.97 kB / 0.9238 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2541, allocations: 0 / 0.9238 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003232/0.2544, allocations: 189.2 kB / 0.924 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.2545, allocations: 186 kB / 0.9242 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2545, allocations: 4 kB / 0.9242 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2545, allocations: 0 / 0.9242 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2546, allocations: 35.92 kB / 0.9242 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2546, allocations: 0 / 0.9242 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.2549, allocations: 31.81 kB / 0.9242 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2549, allocations: 8.094 kB / 0.9242 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.2549, allocations: 7.938 kB / 0.9242 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002547/0.2552, allocations: 123.9 kB / 0.9244 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-06/0.2552, allocations: 0 / 0.9244 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.2552, allocations: 3.984 kB / 0.9244 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2553, allocations: 35.98 kB / 0.9244 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.2553, allocations: 3.953 kB / 0.9244 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.2555, allocations: 28.09 kB / 0.9244 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2555, allocations: 4 kB / 0.9244 GB, free: 39.06 MB / 0.6042 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.0001237/0.2557, allocations: 225 kB / 0.9246 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.2557, allocations: 35.62 kB / 0.9247 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.2561, allocations: 236.5 kB / 0.9249 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2562, allocations: 4 kB / 0.9249 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2562, allocations: 7.953 kB / 0.9249 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2562, allocations: 0 / 0.9249 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.2569, allocations: 0.6567 MB / 0.9256 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2569, allocations: 0 / 0.9256 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.257, allocations: 27.92 kB / 0.9256 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.257, allocations: 7.953 kB / 0.9256 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2571, allocations: 4 kB / 0.9256 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2571, allocations: 7.984 kB / 0.9256 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2571, allocations: 0 / 0.9256 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2574, allocations: 360.4 kB / 0.9259 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2576, allocations: 140.5 kB / 0.9261 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.2576, allocations: 4 kB / 0.9261 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2578, allocations: 28.03 kB / 0.9261 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2579, allocations: 19.92 kB / 0.9261 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2579, allocations: 8.094 kB / 0.9261 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002452/0.2582, allocations: 263.2 kB / 0.9264 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2582, allocations: 0 / 0.9264 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005436/0.2587, allocations: 195.6 kB / 0.9266 GB, free: 36.72 MB / 0.6042 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.001013/0.2598, allocations: 1.263 MB / 0.9278 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.2602, allocations: 207.8 kB / 0.928 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2602, allocations: 0 / 0.928 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2604, allocations: 88.02 kB / 0.9281 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.2611, allocations: 144.3 kB / 0.9282 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2634, allocations: 1.971 MB / 0.9301 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2636, allocations: 0.7999 MB / 0.9309 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.2638, allocations: 82.97 kB / 0.931 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.264, allocations: 107.4 kB / 0.9311 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.264, allocations: 0 / 0.9311 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.2856, allocations: 9.958 MB / 0.9408 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.2858, allocations: 235.9 kB / 0.9411 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/2.871, allocations: 0 / 0.9411 GB, free: 21.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)