Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.22 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 196 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.66 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01576/0.1617, allocations: 15.02 MB / 0.6467 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.1674, allocations: 3.893 MB / 0.6505 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.1679, allocations: 19.94 kB / 0.6506 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.1685, allocations: 194.7 kB / 0.6507 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1703, allocations: 0.7037 MB / 0.6514 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1716, allocations: 481.5 kB / 0.6519 GB, free: 40 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1731, allocations: 1.091 MB / 0.6529 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.1735, allocations: 280 kB / 0.6532 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.1742, allocations: 422.4 kB / 0.6536 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.1745, allocations: 262.8 kB / 0.6539 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.1746, allocations: 24 kB / 0.6539 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1757, allocations: 0.7173 MB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1758, allocations: 79.61 kB / 0.6547 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.176, allocations: 179 kB / 0.6548 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000973/0.177, allocations: 0.7206 MB / 0.6555 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.177, allocations: 0 / 0.6555 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.177, allocations: 4 kB / 0.6555 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.177, allocations: 0 / 0.6555 GB, free: 12.27 MB / 0.4981 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.001086/0.1781, allocations: 0.7435 MB / 0.6563 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1782, allocations: 12.03 kB / 0.6563 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.1783, allocations: 40.47 kB / 0.6563 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.1792, allocations: 0.5173 MB / 0.6568 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1793, allocations: 16.33 kB / 0.6568 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.1793, allocations: 16 kB / 0.6569 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.1797, allocations: 176.2 kB / 0.657 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1797, allocations: 0 / 0.657 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1797, allocations: 4 kB / 0.657 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1797, allocations: 8 kB / 0.657 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.1801, allocations: 140.2 kB / 0.6572 GB, free: 10.51 MB / 0.4981 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.001095/0.1812, allocations: 0.8644 MB / 0.658 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1814, allocations: 118.6 kB / 0.6581 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1816, allocations: 68.81 kB / 0.6582 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.1819, allocations: 340.3 kB / 0.6585 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1819, allocations: 34.56 kB / 0.6586 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.1819, allocations: 4 kB / 0.6586 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006044/0.1826, allocations: 213.1 kB / 0.6588 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1826, allocations: 55.41 kB / 0.6588 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.183, allocations: 349.7 kB / 0.6591 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.183, allocations: 29.7 kB / 0.6592 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1831, allocations: 192.2 kB / 0.6594 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1832, allocations: 43.45 kB / 0.6594 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.1832, allocations: 37.61 kB / 0.6594 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1834, allocations: 342.8 kB / 0.6598 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1835, allocations: 52.81 kB / 0.6598 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1837, allocations: 96.69 kB / 0.6599 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.184, allocations: 121.5 kB / 0.66 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.184, allocations: 0 / 0.66 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003794/0.1844, allocations: 177.1 kB / 0.6602 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1844, allocations: 7.938 kB / 0.6602 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1844, allocations: 0 / 0.6602 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1845, allocations: 4 kB / 0.6602 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1846, allocations: 27.98 kB / 0.6602 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1846, allocations: 4 kB / 0.6602 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1848, allocations: 15.92 kB / 0.6602 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1849, allocations: 7.984 kB / 0.6603 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000221/0.1851, allocations: 156.1 kB / 0.6604 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.1853, allocations: 92.41 kB / 0.6605 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002498/0.1855, allocations: 113.6 kB / 0.6606 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.1855, allocations: 0 / 0.6606 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003472/0.1859, allocations: 173.1 kB / 0.6608 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1859, allocations: 8.188 kB / 0.6608 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.1859, allocations: 0 / 0.6608 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.1859, allocations: 11.88 kB / 0.6608 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.186, allocations: 27.92 kB / 0.6608 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.1861, allocations: 0 / 0.6608 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1862, allocations: 15.98 kB / 0.6608 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1863, allocations: 4 kB / 0.6608 GB, free: 6.449 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.1864, allocations: 192.2 kB / 0.661 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.1865, allocations: 39.47 kB / 0.661 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.187, allocations: 230.8 kB / 0.6613 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.187, allocations: 96 / 0.6613 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.187, allocations: 3.984 kB / 0.6613 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.187, allocations: 0 / 0.6613 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.1879, allocations: 0.6393 MB / 0.6619 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1879, allocations: 0 / 0.6619 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.188, allocations: 27.92 kB / 0.6619 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.188, allocations: 0 / 0.6619 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1881, allocations: 11.98 kB / 0.6619 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1881, allocations: 0 / 0.6619 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1881, allocations: 0 / 0.6619 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1885, allocations: 325.5 kB / 0.6622 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1886, allocations: 120.7 kB / 0.6624 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.1887, allocations: 8.062 kB / 0.6624 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1889, allocations: 15.98 kB / 0.6624 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1889, allocations: 11.98 kB / 0.6624 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.189, allocations: 7.984 kB / 0.6624 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000243/0.1892, allocations: 251.1 kB / 0.6626 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1892, allocations: 0 / 0.6626 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006097/0.1898, allocations: 195.5 kB / 0.6628 GB, free: 4.285 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005817/0.1904, allocations: 248.6 kB / 0.6631 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.191, allocations: 191.7 kB / 0.6632 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.191, allocations: 0 / 0.6632 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.1912, allocations: 79.89 kB / 0.6633 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.192, allocations: 149 kB / 0.6635 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.1929, allocations: 0.5516 MB / 0.664 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1932, allocations: 0.7957 MB / 0.6648 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.1935, allocations: 71.25 kB / 0.6649 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.1935, allocations: 39.42 kB / 0.6649 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of SimCode: time 1.874e-06/0.1935, allocations: 0 / 0.6649 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.01341/0.207, allocations: 6.59 MB / 0.6713 GB, free: 11.62 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)