Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.188/2.188, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001345/0.001345, allocations: 173.5 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.000892/0.000892, allocations: 95.19 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006923/0.0006925, allocations: 11.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2147, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01706/0.2318, allocations: 13.79 MB / 0.913 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006254/0.2381, allocations: 3.544 MB / 0.9164 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.2388, allocations: 19.88 kB / 0.9164 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.2395, allocations: 127.1 kB / 0.9166 GB, free: 48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.2416, allocations: 0.556 MB / 0.9171 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.2433, allocations: 413.8 kB / 0.9175 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.2453, allocations: 1.2 MB / 0.9187 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.2459, allocations: 236.6 kB / 0.9189 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000838/0.2467, allocations: 354.4 kB / 0.9192 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.2471, allocations: 246.8 kB / 0.9195 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.2472, allocations: 12 kB / 0.9195 GB, free: 45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2488, allocations: 0.6315 MB / 0.9201 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.249, allocations: 47.77 kB / 0.9201 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2491, allocations: 105.4 kB / 0.9202 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.25, allocations: 487.2 kB / 0.9207 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2501, allocations: 7.938 kB / 0.9207 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2501, allocations: 3.938 kB / 0.9207 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2501, allocations: 0 / 0.9207 GB, free: 43.72 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.001261/0.2514, allocations: 0.6853 MB / 0.9214 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2514, allocations: 8.031 kB / 0.9214 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.2515, allocations: 48.47 kB / 0.9214 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2527, allocations: 490 kB / 0.9219 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2527, allocations: 12.33 kB / 0.9219 GB, free: 42.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.2528, allocations: 24 kB / 0.922 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.2533, allocations: 176.9 kB / 0.9221 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2534, allocations: 0 / 0.9221 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.2534, allocations: 11.98 kB / 0.9221 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2534, allocations: 4 kB / 0.9221 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.2539, allocations: 152.1 kB / 0.9223 GB, free: 42.04 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.001453/0.2554, allocations: 0.8643 MB / 0.9231 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.2558, allocations: 126.6 kB / 0.9232 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.2561, allocations: 76.81 kB / 0.9233 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.2564, allocations: 336.4 kB / 0.9236 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2565, allocations: 42.44 kB / 0.9237 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.2565, allocations: 0 / 0.9237 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0008607/0.2574, allocations: 229.2 kB / 0.9239 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.2574, allocations: 59.39 kB / 0.924 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.2578, allocations: 341.7 kB / 0.9243 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2579, allocations: 29.7 kB / 0.9243 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.258, allocations: 196.2 kB / 0.9245 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.2581, allocations: 39.44 kB / 0.9245 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.2581, allocations: 4 kB / 0.9245 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2582, allocations: 342.8 kB / 0.9249 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2584, allocations: 47.97 kB / 0.9249 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.2587, allocations: 96.19 kB / 0.925 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2589, allocations: 55.97 kB / 0.9251 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2589, allocations: 0 / 0.9251 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005646/0.2595, allocations: 193 kB / 0.9252 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.2596, allocations: 101.8 kB / 0.9253 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2596, allocations: 0 / 0.9253 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2596, allocations: 4 kB / 0.9253 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2599, allocations: 27.92 kB / 0.9254 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2599, allocations: 0 / 0.9254 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.2603, allocations: 36.56 kB / 0.9254 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.2604, allocations: 4 kB / 0.9254 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.2604, allocations: 4 kB / 0.9254 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004643/0.2609, allocations: 127.9 kB / 0.9255 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.2609, allocations: 4 kB / 0.9255 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.2609, allocations: 0 / 0.9255 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2611, allocations: 31.97 kB / 0.9256 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2611, allocations: 3.938 kB / 0.9256 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.2615, allocations: 35.83 kB / 0.9256 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.2615, allocations: 7.984 kB / 0.9256 GB, free: 38.34 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.0001932/0.2617, allocations: 221 kB / 0.9258 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.2618, allocations: 35.61 kB / 0.9259 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.2625, allocations: 236.5 kB / 0.9261 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2625, allocations: 3.938 kB / 0.9261 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.2625, allocations: 0 / 0.9261 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2627, allocations: 124.7 kB / 0.9262 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.2628, allocations: 12 kB / 0.9262 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2631, allocations: 27.88 kB / 0.9262 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2632, allocations: 11.92 kB / 0.9263 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006362/0.2639, allocations: 273.8 kB / 0.9265 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006269/0.2645, allocations: 380 kB / 0.9269 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002471/0.2648, allocations: 77.58 kB / 0.9269 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003081/0.2651, allocations: 255.1 kB / 0.9272 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of Backend: time 1.092e-06/0.2651, allocations: 192 / 0.9272 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2668, allocations: 413.1 kB / 0.9276 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001944/0.2688, allocations: 1.202 MB / 0.9288 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.01969/0.2885, allocations: 7.063 MB / 0.9357 GB, free: 28.03 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)