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: 252 MB / 267 MB, free: 10.97 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.001011/0.001011, allocations: 184.2 kB / 326.6 MB, free: 2.23 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.826/1.826, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007856/0.0007857, allocations: 95.38 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 13.12 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01111/0.2482, allocations: 13.79 MB / 0.9138 GB, free: 50 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004335/0.2526, allocations: 3.548 MB / 0.9172 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.2531, allocations: 19.88 kB / 0.9173 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.2536, allocations: 131.1 kB / 0.9174 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.2551, allocations: 0.5637 MB / 0.9179 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2565, allocations: 400.9 kB / 0.9183 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.2582, allocations: 1.186 MB / 0.9195 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.2588, allocations: 228.6 kB / 0.9197 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.2595, allocations: 354.4 kB / 0.92 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.2598, allocations: 246.8 kB / 0.9203 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.2599, allocations: 12 kB / 0.9203 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.2614, allocations: 0.6315 MB / 0.9209 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.2615, allocations: 59.69 kB / 0.9209 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2616, allocations: 93.45 kB / 0.921 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.2624, allocations: 483.2 kB / 0.9215 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.2624, allocations: 3.938 kB / 0.9215 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.777e-06/0.2624, allocations: 7.922 kB / 0.9215 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2625, allocations: 4 kB / 0.9215 GB, free: 42.05 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.00121/0.2637, allocations: 0.6891 MB / 0.9222 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.2637, allocations: 8.031 kB / 0.9222 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.2638, allocations: 54.55 kB / 0.9222 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.2639, allocations: 39.53 kB / 0.9223 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.2648, allocations: 489 kB / 0.9227 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2648, allocations: 12.33 kB / 0.9228 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.2649, allocations: 16 kB / 0.9228 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.2653, allocations: 188.9 kB / 0.923 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2653, allocations: 0 / 0.923 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.2653, allocations: 7.938 kB / 0.923 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2653, allocations: 4 kB / 0.923 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.2656, allocations: 152.2 kB / 0.9231 GB, free: 40.31 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.0009294/0.2666, allocations: 0.8684 MB / 0.924 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2668, allocations: 118.6 kB / 0.9241 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.267, allocations: 76.81 kB / 0.9241 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.2672, allocations: 336.4 kB / 0.9245 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2673, allocations: 42.55 kB / 0.9245 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.2673, allocations: 0 / 0.9245 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005225/0.2678, allocations: 244.9 kB / 0.9247 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2678, allocations: 51.41 kB / 0.9248 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.2681, allocations: 341.7 kB / 0.9251 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2681, allocations: 29.7 kB / 0.9251 GB, free: 38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2683, allocations: 188.4 kB / 0.9253 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.2683, allocations: 47.39 kB / 0.9254 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.2683, allocations: 0 / 0.9254 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2684, allocations: 346.8 kB / 0.9257 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2685, allocations: 43.97 kB / 0.9257 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2687, allocations: 92.23 kB / 0.9258 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2688, allocations: 59.91 kB / 0.9259 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2688, allocations: 0 / 0.9259 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003179/0.2692, allocations: 189 kB / 0.9261 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.2692, allocations: 105.8 kB / 0.9262 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2693, allocations: 0 / 0.9262 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2693, allocations: 4 kB / 0.9262 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2694, allocations: 31.91 kB / 0.9262 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2694, allocations: 4 kB / 0.9262 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.2697, allocations: 28.05 kB / 0.9262 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2697, allocations: 7.984 kB / 0.9262 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-06/0.2697, allocations: 8 kB / 0.9262 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002631/0.27, allocations: 119.9 kB / 0.9264 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.27, allocations: 0 / 0.9264 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.27, allocations: 4 kB / 0.9264 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2701, allocations: 27.98 kB / 0.9264 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.2701, allocations: 0 / 0.9264 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2703, allocations: 35.75 kB / 0.9264 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2704, allocations: 11.95 kB / 0.9264 GB, free: 36.62 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.0001509/0.2705, allocations: 221 kB / 0.9266 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2706, allocations: 39.72 kB / 0.9267 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.271, allocations: 241.1 kB / 0.9269 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.2711, allocations: 4 kB / 0.9269 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2711, allocations: 0 / 0.9269 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2711, allocations: 4 kB / 0.9269 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.2719, allocations: 0.6373 MB / 0.9275 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2719, allocations: 8.094 kB / 0.9276 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.272, allocations: 27.97 kB / 0.9276 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.272, allocations: 0 / 0.9276 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2721, allocations: 4.188 kB / 0.9276 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2721, allocations: 7.891 kB / 0.9276 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2721, allocations: 7.938 kB / 0.9276 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.2725, allocations: 323.1 kB / 0.9279 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2726, allocations: 128.7 kB / 0.928 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.2727, allocations: 8 kB / 0.928 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2729, allocations: 19.98 kB / 0.9281 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.273, allocations: 23.88 kB / 0.9281 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.273, allocations: 7.984 kB / 0.9281 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002671/0.2733, allocations: 239.2 kB / 0.9283 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2733, allocations: 0 / 0.9283 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005683/0.2738, allocations: 195.6 kB / 0.9285 GB, free: 34.38 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.001099/0.2749, allocations: 0.9951 MB / 0.9295 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.2754, allocations: 199.8 kB / 0.9297 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2755, allocations: 0 / 0.9297 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2756, allocations: 84.08 kB / 0.9297 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.2765, allocations: 153.5 kB / 0.9299 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.2789, allocations: 1.773 MB / 0.9316 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2791, allocations: 0.7921 MB / 0.9324 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.2794, allocations: 79.03 kB / 0.9325 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2795, allocations: 107.4 kB / 0.9326 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.2795, allocations: 0 / 0.9326 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.301, allocations: 9.577 MB / 0.9419 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.3013, allocations: 241.5 kB / 0.9422 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.683, allocations: 0 / 0.9422 GB, free: 20.5 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)