Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.69/1.69, allocations: 297.8 MB / 313.8 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009435/0.0009437, allocations: 172.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.000903, allocations: 94.58 kB / 0.7808 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 17.94 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7647, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.824, allocations: 404.8 MB / 1.422 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/1.825, allocations: 91.69 kB / 1.422 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3609/2.186, allocations: 170.9 MB / 1.589 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/2.186, allocations: 0 / 1.589 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.751e-05/2.186, allocations: 12 kB / 1.589 GB, free: 129.6 MB / 0.9323 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.00168/2.187, allocations: 0.7521 MB / 1.589 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/2.188, allocations: 11.97 kB / 1.589 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/2.188, allocations: 44.47 kB / 1.589 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/2.21, allocations: 11.79 MB / 1.601 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/2.21, allocations: 12.7 kB / 1.601 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/2.21, allocations: 20.38 kB / 1.601 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/2.21, allocations: 176.8 kB / 1.601 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/2.21, allocations: 7.922 kB / 1.601 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/2.21, allocations: 11.94 kB / 1.601 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/2.21, allocations: 4 kB / 1.601 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/2.211, allocations: 148 kB / 1.601 GB, free: 116.4 MB / 0.9323 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.001226/2.212, allocations: 0.8385 MB / 1.602 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/2.212, allocations: 106.7 kB / 1.602 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/2.212, allocations: 76.75 kB / 1.602 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/2.212, allocations: 340.4 kB / 1.603 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/2.212, allocations: 30.56 kB / 1.603 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 2.334e-06/2.212, allocations: 4 kB / 1.603 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.000517/2.213, allocations: 213.2 kB / 1.603 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/2.213, allocations: 51.41 kB / 1.603 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/2.213, allocations: 329.7 kB / 1.603 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/2.213, allocations: 29.7 kB / 1.603 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/2.213, allocations: 200.3 kB / 1.603 GB, free: 114 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/2.213, allocations: 39.39 kB / 1.603 GB, free: 114 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/2.213, allocations: 4 kB / 1.603 GB, free: 114 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/2.214, allocations: 346.8 kB / 1.604 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/2.214, allocations: 43.91 kB / 1.604 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/2.214, allocations: 106.8 kB / 1.604 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/2.214, allocations: 113.6 kB / 1.604 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.214, allocations: 0 / 1.604 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003114/2.214, allocations: 177.2 kB / 1.604 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/2.214, allocations: 96.09 kB / 1.604 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/2.214, allocations: 3.984 kB / 1.604 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/2.214, allocations: 8 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/2.215, allocations: 36.09 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/2.215, allocations: 3.984 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/2.215, allocations: 31.77 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/2.215, allocations: 16.92 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/2.215, allocations: 4 kB / 1.604 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002412/2.215, allocations: 115.8 kB / 1.604 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/2.215, allocations: 0 / 1.604 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/2.215, allocations: 0 / 1.604 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/2.215, allocations: 35.97 kB / 1.605 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/2.215, allocations: 0 / 1.605 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/2.216, allocations: 27.83 kB / 1.605 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/2.216, allocations: 8 kB / 1.605 GB, free: 112.8 MB / 0.9323 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.0001695/2.216, allocations: 225 kB / 1.605 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/2.216, allocations: 39.56 kB / 1.605 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/2.216, allocations: 224.5 kB / 1.605 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.216, allocations: 0 / 1.605 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/2.216, allocations: 4 kB / 1.605 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/2.216, allocations: 4 kB / 1.605 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/2.217, allocations: 0.6126 MB / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.217, allocations: 4.094 kB / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/2.217, allocations: 27.97 kB / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/2.217, allocations: 4 kB / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/2.217, allocations: 0 / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/2.217, allocations: 7.938 kB / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.217, allocations: 96 / 1.606 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/2.217, allocations: 325.5 kB / 1.606 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/2.218, allocations: 124.5 kB / 1.606 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/2.218, allocations: 4 kB / 1.606 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/2.218, allocations: 27.92 kB / 1.606 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/2.218, allocations: 11.98 kB / 1.606 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/2.218, allocations: 11.98 kB / 1.606 GB, free: 111 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001835/2.218, allocations: 231.2 kB / 1.606 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.218, allocations: 4 kB / 1.606 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006053/2.219, allocations: 163.7 kB / 1.607 GB, free: 110.6 MB / 0.9323 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.0005734/2.219, allocations: 284.9 kB / 1.607 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005144/2.22, allocations: 189.2 kB / 1.607 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.22, allocations: 3.938 kB / 1.607 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/2.22, allocations: 75.91 kB / 1.607 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/2.221, allocations: 146.1 kB / 1.607 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/2.222, allocations: 0.6792 MB / 1.608 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/2.222, allocations: 0.7921 MB / 1.609 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002647/2.222, allocations: 75.38 kB / 1.609 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/2.222, allocations: 31.44 kB / 1.609 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.41e-07/2.222, allocations: 0 / 1.609 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.01146/2.234, allocations: 6.395 MB / 1.615 GB, free: 102 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)