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.426/1.426, allocations: 252 MB / 267.3 MB, free: 10.85 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.001065/0.001065, allocations: 170.7 kB / 327 MB, free: 2.105 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.783/1.783, allocations: 205.4 MB / 0.578 GB, free: 20.47 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.0007864/0.0007865, allocations: 92.62 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 11.75 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 106.3 MB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0111/0.2273, allocations: 14.49 MB / 0.9151 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.2316, allocations: 3.795 MB / 0.9188 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.2321, allocations: 23.81 kB / 0.9188 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.2326, allocations: 147.1 kB / 0.9189 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.234, allocations: 0.6222 MB / 0.9195 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2352, allocations: 426 kB / 0.9199 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.2367, allocations: 1.364 MB / 0.9213 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.2371, allocations: 237.2 kB / 0.9215 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.2377, allocations: 374.3 kB / 0.9219 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.238, allocations: 278.7 kB / 0.9221 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.2381, allocations: 12 kB / 0.9221 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.2392, allocations: 0.6861 MB / 0.9228 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.2393, allocations: 63.69 kB / 0.9229 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2395, allocations: 200.7 kB / 0.9231 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008817/0.2404, allocations: 0.701 MB / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2404, allocations: 0 / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2404, allocations: 0 / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2405, allocations: 0 / 0.9237 GB, free: 40.28 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.0009451/0.2414, allocations: 0.6853 MB / 0.9244 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2415, allocations: 8.031 kB / 0.9244 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2415, allocations: 50.73 kB / 0.9245 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.2416, allocations: 40.47 kB / 0.9245 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.2423, allocations: 0.4974 MB / 0.925 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2423, allocations: 16.33 kB / 0.925 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2424, allocations: 16 kB / 0.925 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.2427, allocations: 188.8 kB / 0.9252 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2427, allocations: 0 / 0.9252 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2427, allocations: 8 kB / 0.9252 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2427, allocations: 4 kB / 0.9252 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.243, allocations: 148.1 kB / 0.9254 GB, free: 38.52 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.0008946/0.2439, allocations: 0.8684 MB / 0.9262 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2442, allocations: 130.6 kB / 0.9263 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2443, allocations: 84.81 kB / 0.9264 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.2446, allocations: 332.4 kB / 0.9267 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2447, allocations: 38.5 kB / 0.9268 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.2447, allocations: 0 / 0.9268 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005043/0.2452, allocations: 229.2 kB / 0.927 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.2452, allocations: 55.41 kB / 0.927 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.2455, allocations: 349.6 kB / 0.9274 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2455, allocations: 33.7 kB / 0.9274 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.2456, allocations: 188.3 kB / 0.9276 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2456, allocations: 47.39 kB / 0.9276 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.2457, allocations: 7.938 kB / 0.9276 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.2457, allocations: 338.8 kB / 0.928 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2459, allocations: 51.95 kB / 0.928 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.246, allocations: 92.25 kB / 0.9281 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2462, allocations: 129.5 kB / 0.9282 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2462, allocations: 4 kB / 0.9282 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003196/0.2466, allocations: 189.1 kB / 0.9284 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.2466, allocations: 97.86 kB / 0.9285 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2466, allocations: 4 kB / 0.9285 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2467, allocations: 4 kB / 0.9285 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2468, allocations: 23.98 kB / 0.9285 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2468, allocations: 4 kB / 0.9285 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.247, allocations: 31.88 kB / 0.9286 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2471, allocations: 8 kB / 0.9286 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-06/0.2471, allocations: 4 kB / 0.9286 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002551/0.2474, allocations: 123.8 kB / 0.9287 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.2474, allocations: 0 / 0.9287 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.2474, allocations: 8.125 kB / 0.9287 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2475, allocations: 31.97 kB / 0.9287 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-06/0.2475, allocations: 3.938 kB / 0.9287 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.2477, allocations: 27.83 kB / 0.9288 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2477, allocations: 11.98 kB / 0.9288 GB, free: 34.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.2478, allocations: 229 kB / 0.929 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.2479, allocations: 35.56 kB / 0.929 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.2483, allocations: 249.2 kB / 0.9293 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2483, allocations: 0 / 0.9293 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2483, allocations: 4 kB / 0.9293 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2483, allocations: 0 / 0.9293 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007777/0.2491, allocations: 0.6412 MB / 0.9299 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2491, allocations: 0 / 0.9299 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2493, allocations: 27.98 kB / 0.9299 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2493, allocations: 0 / 0.9299 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2493, allocations: 16.05 kB / 0.9299 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2493, allocations: 0 / 0.9299 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2493, allocations: 7.875 kB / 0.9299 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2497, allocations: 325.6 kB / 0.9303 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.2498, allocations: 128.6 kB / 0.9304 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.2498, allocations: 8 kB / 0.9304 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.25, allocations: 23.97 kB / 0.9304 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2501, allocations: 11.98 kB / 0.9304 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2501, allocations: 4 kB / 0.9304 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000183/0.2503, allocations: 247.2 kB / 0.9307 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2503, allocations: 4 kB / 0.9307 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005388/0.2508, allocations: 191.6 kB / 0.9308 GB, free: 32.5 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 (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.0009211/0.2518, allocations: 1.002 MB / 0.9318 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.2522, allocations: 207.8 kB / 0.932 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2522, allocations: 0 / 0.932 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.2524, allocations: 88.02 kB / 0.9321 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.2532, allocations: 141.2 kB / 0.9322 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.2561, allocations: 2.888 MB / 0.9351 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2563, allocations: 0.7921 MB / 0.9358 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.2565, allocations: 79.56 kB / 0.9359 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2567, allocations: 119.4 kB / 0.936 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2567, allocations: 0 / 0.936 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.2777, allocations: 9.492 MB / 0.9453 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.278, allocations: 259.5 kB / 0.9455 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/2.811, allocations: 0 / 0.9455 GB, free: 17.45 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)