Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001383/0.001383, allocations: 172.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009987/0.0009986, allocations: 86.19 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.509e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7428, allocations: 116.3 MB / 0.9732 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.765, allocations: 402 MB / 1.366 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.765, allocations: 87.42 kB / 1.366 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2955/2.06, allocations: 166.3 MB / 1.528 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/2.06, allocations: 0 / 1.528 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.932e-05/2.06, allocations: 15.98 kB / 1.528 GB, free: 1.383 MB / 0.8542 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.0008706/2.061, allocations: 0.6576 MB / 1.529 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/2.061, allocations: 11.97 kB / 1.529 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/2.061, allocations: 43.53 kB / 1.529 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02964/2.091, allocations: 13.63 MB / 1.542 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/2.091, allocations: 4 kB / 1.542 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/2.091, allocations: 15.95 kB / 1.542 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/2.091, allocations: 92.62 kB / 1.542 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/2.092, allocations: 131.9 kB / 1.543 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/2.092, allocations: 0 / 1.543 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/2.092, allocations: 8 kB / 1.543 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/2.092, allocations: 4 kB / 1.543 GB, free: 2.543 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001228/2.093, allocations: 0.7796 MB / 1.543 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/2.093, allocations: 102.6 kB / 1.543 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/2.093, allocations: 52.84 kB / 1.544 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/2.094, allocations: 344.4 kB / 1.544 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/2.094, allocations: 34.56 kB / 1.544 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/2.094, allocations: 0 / 1.544 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0004286/2.094, allocations: 141.4 kB / 1.544 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/2.094, allocations: 51.41 kB / 1.544 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/2.095, allocations: 246.4 kB / 1.544 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/2.095, allocations: 25.7 kB / 1.544 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/2.095, allocations: 192.2 kB / 1.544 GB, free: 396 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/2.095, allocations: 39.39 kB / 1.545 GB, free: 356 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/2.095, allocations: 4 kB / 1.545 GB, free: 352 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00017/2.095, allocations: 350.7 kB / 1.545 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/2.095, allocations: 24 kB / 1.545 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/2.095, allocations: 74.86 kB / 1.545 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/2.095, allocations: 51.92 kB / 1.545 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.095, allocations: 0 / 1.545 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002521/2.095, allocations: 145.2 kB / 1.545 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/2.096, allocations: 181.9 kB / 1.545 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/2.096, allocations: 0 / 1.545 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/2.096, allocations: 4 kB / 1.545 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/2.096, allocations: 27.98 kB / 1.545 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/2.096, allocations: 3.938 kB / 1.545 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/2.096, allocations: 31.83 kB / 1.545 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/2.096, allocations: 8 kB / 1.545 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/2.096, allocations: 4 kB / 1.545 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001891/2.096, allocations: 79.89 kB / 1.545 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/2.096, allocations: 0 / 1.545 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/2.096, allocations: 96 / 1.545 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/2.096, allocations: 39.89 kB / 1.546 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/2.096, allocations: 0 / 1.546 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/2.096, allocations: 27.92 kB / 1.546 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/2.097, allocations: 11.98 kB / 1.546 GB, free: 15.25 MB / 0.8855 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 () * 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 7.428e-05/2.097, allocations: 105 kB / 1.546 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/2.097, allocations: 31.58 kB / 1.546 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/2.097, allocations: 182.9 kB / 1.546 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/2.097, allocations: 0 / 1.546 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.097, allocations: 3.938 kB / 1.546 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.097, allocations: 7.938 kB / 1.546 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/2.098, allocations: 0.5286 MB / 1.546 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.098, allocations: 4 kB / 1.546 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/2.098, allocations: 27.98 kB / 1.546 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/2.098, allocations: 0 / 1.546 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/2.098, allocations: 4 kB / 1.546 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/2.098, allocations: 8.031 kB / 1.546 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.098, allocations: 4 kB / 1.546 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/2.098, allocations: 304 kB / 1.547 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/2.098, allocations: 128.5 kB / 1.547 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/2.098, allocations: 3.938 kB / 1.547 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/2.099, allocations: 23.97 kB / 1.547 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/2.099, allocations: 15.94 kB / 1.547 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/2.099, allocations: 12 kB / 1.547 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001638/2.099, allocations: 200.5 kB / 1.547 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/2.099, allocations: 0 / 1.547 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005438/2.099, allocations: 151.8 kB / 1.547 GB, free: 13.4 MB / 0.8855 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 () * 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.0005953/2.1, allocations: 290.9 kB / 1.548 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002631/2.1, allocations: 146 kB / 1.548 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/2.1, allocations: 4 kB / 1.548 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/2.1, allocations: 51.92 kB / 1.548 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/2.101, allocations: 130.4 kB / 1.548 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/2.102, allocations: 367.2 kB / 1.548 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/2.102, allocations: 0.8035 MB / 1.549 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003352/2.102, allocations: 87.19 kB / 1.549 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/2.103, allocations: 23.38 kB / 1.549 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/2.103, allocations: 0 / 1.549 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.01104/2.114, allocations: 5.977 MB / 1.555 GB, free: 5.57 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)