Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.988/2.988, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 97.94 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006468/0.0006472, allocations: 11.44 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2255, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01649/0.2421, allocations: 12.62 MB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006151/0.2483, allocations: 3.282 MB / 0.9937 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006384/0.249, allocations: 15.94 kB / 0.9937 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.2499, allocations: 171.1 kB / 0.9939 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.2525, allocations: 0.6556 MB / 0.9945 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.2549, allocations: 0.5296 MB / 0.9951 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.257, allocations: 0.734 MB / 0.9958 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.2576, allocations: 228.7 kB / 0.996 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.2587, allocations: 330.9 kB / 0.9963 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.259, allocations: 187.2 kB / 0.9965 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.2591, allocations: 12 kB / 0.9965 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.2606, allocations: 0.4992 MB / 0.997 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2607, allocations: 59.69 kB / 0.997 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2609, allocations: 89.52 kB / 0.9971 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.2618, allocations: 451 kB / 0.9976 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2618, allocations: 0 / 0.9976 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2619, allocations: 0 / 0.9976 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.2619, allocations: 0 / 0.9976 GB, free: 8.516 MB / 0.6198 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.001334/0.2632, allocations: 0.6773 MB / 0.9982 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2633, allocations: 8.031 kB / 0.9982 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.2634, allocations: 43.44 kB / 0.9983 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.2646, allocations: 437.3 kB / 0.9987 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.2647, allocations: 12.33 kB / 0.9987 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2647, allocations: 19.98 kB / 0.9987 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.2653, allocations: 184.1 kB / 0.9989 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2653, allocations: 3.938 kB / 0.9989 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2653, allocations: 12 kB / 0.9989 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.2654, allocations: 4 kB / 0.9989 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.2659, allocations: 144.2 kB / 0.999 GB, free: 6.895 MB / 0.6198 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.001548/0.2675, allocations: 0.884 MB / 0.9999 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.268, allocations: 134.6 kB / 1 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.2683, allocations: 336.4 kB / 1 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2683, allocations: 34.56 kB / 1 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 3.447e-06/0.2683, allocations: 0 / 1 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0008735/0.2692, allocations: 245.2 kB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2693, allocations: 51.41 kB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.2698, allocations: 373.7 kB / 1.001 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2699, allocations: 25.7 kB / 1.001 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.27, allocations: 200.2 kB / 1.001 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.2701, allocations: 35.45 kB / 1.001 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.2701, allocations: 4 kB / 1.001 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.2702, allocations: 342.8 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.2704, allocations: 47.97 kB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.2707, allocations: 96.23 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.2709, allocations: 59.91 kB / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2709, allocations: 4 kB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005791/0.2715, allocations: 181.1 kB / 1.002 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.2716, allocations: 190 kB / 1.002 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2716, allocations: 0 / 1.002 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2717, allocations: 0 / 1.002 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.2719, allocations: 27.97 kB / 1.002 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2719, allocations: 4 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.2724, allocations: 39.94 kB / 1.002 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2724, allocations: 4 kB / 1.002 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.2724, allocations: 7.938 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004606/0.2729, allocations: 127.8 kB / 1.002 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2729, allocations: 4 kB / 1.002 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.2729, allocations: 0 / 1.002 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2731, allocations: 23.98 kB / 1.002 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2732, allocations: 4 kB / 1.002 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.2736, allocations: 39.77 kB / 1.002 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2736, allocations: 8 kB / 1.002 GB, free: 3.145 MB / 0.6198 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.0002054/0.2738, allocations: 221 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.2739, allocations: 35.53 kB / 1.003 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/0.2746, allocations: 240.9 kB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.2746, allocations: 4 kB / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2746, allocations: 96 / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2747, allocations: 15.92 kB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2759, allocations: 0.649 MB / 1.004 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.2759, allocations: 4 kB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.2761, allocations: 23.98 kB / 1.004 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2762, allocations: 4 kB / 1.004 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2762, allocations: 3.953 kB / 1.004 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2762, allocations: 4 kB / 1.004 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2762, allocations: 3.938 kB / 1.004 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2769, allocations: 370.7 kB / 1.004 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.277, allocations: 132.7 kB / 1.004 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.2771, allocations: 4.062 kB / 1.004 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.2775, allocations: 31.97 kB / 1.004 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.2776, allocations: 11.92 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.2777, allocations: 4 kB / 1.004 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003984/0.2781, allocations: 271.1 kB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.823e-06/0.2781, allocations: 0 / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008626/0.279, allocations: 199.5 kB / 1.005 GB, free: 0.7969 MB / 0.6198 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.0007678/0.2797, allocations: 256.7 kB / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008312/0.2806, allocations: 207.7 kB / 1.005 GB, free: 348 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2806, allocations: 0 / 1.005 GB, free: 348 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.2809, allocations: 83.89 kB / 1.005 GB, free: 264 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2821, allocations: 149.2 kB / 1.005 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2836, allocations: 0.676 MB / 1.006 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.2841, allocations: 0.7999 MB / 1.007 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.2846, allocations: 82.97 kB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2848, allocations: 31.44 kB / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.2848, allocations: 0 / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.02065/0.3054, allocations: 6.496 MB / 1.013 GB, free: 8.043 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)