Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7445/0.7445, allocations: 128.6 MB / 143.8 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.5 kB / 173.7 MB, free: 6.207 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205 MB / 408.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007318/0.0007318, allocations: 100.5 kB / 485.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 9.062 kB / 0.5587 GB, free: 98.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 76.15 MB / 0.6331 GB, free: 32.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01769/0.1771, allocations: 20.05 MB / 0.6526 GB, free: 12.78 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.1827, allocations: 3.786 MB / 0.6563 GB, free: 8.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.1835, allocations: 23.88 kB / 0.6564 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.1843, allocations: 155.1 kB / 0.6565 GB, free: 8.805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.1863, allocations: 0.6165 MB / 0.6571 GB, free: 8.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1876, allocations: 346.5 kB / 0.6574 GB, free: 7.852 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1892, allocations: 1.427 MB / 0.6588 GB, free: 6.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.1895, allocations: 265.3 kB / 0.6591 GB, free: 6.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.1901, allocations: 374.3 kB / 0.6594 GB, free: 5.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1904, allocations: 278.7 kB / 0.6597 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1904, allocations: 12 kB / 0.6597 GB, free: 5.504 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1917, allocations: 0.6939 MB / 0.6604 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.1918, allocations: 67.62 kB / 0.6605 GB, free: 4.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.192, allocations: 167 kB / 0.6606 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.1929, allocations: 0.6894 MB / 0.6613 GB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1929, allocations: 0 / 0.6613 GB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.193, allocations: 4 kB / 0.6613 GB, free: 3.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.193, allocations: 4 kB / 0.6613 GB, free: 3.879 MB / 442.7 MB 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.001171/0.1942, allocations: 0.7397 MB / 0.662 GB, free: 3.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1942, allocations: 8.031 kB / 0.662 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.128e-05/0.1943, allocations: 44.47 kB / 0.6621 GB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.1951, allocations: 497.6 kB / 0.6625 GB, free: 2.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1951, allocations: 16.33 kB / 0.6626 GB, free: 2.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1952, allocations: 16 kB / 0.6626 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.1961, allocations: 276 kB / 0.6628 GB, free: 2.211 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1961, allocations: 0 / 0.6628 GB, free: 2.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1961, allocations: 4 kB / 0.6628 GB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1962, allocations: 7.984 kB / 0.6629 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.197, allocations: 235.6 kB / 0.6631 GB, free: 1.969 MB / 442.7 MB 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.0008724/0.1979, allocations: 0.8294 MB / 0.6639 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.1986, allocations: 190.4 kB / 0.6641 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1987, allocations: 56.75 kB / 0.6641 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.199, allocations: 340.4 kB / 0.6644 GB, free: 388 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.1991, allocations: 34.5 kB / 0.6645 GB, free: 344 kB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1991, allocations: 4 kB / 0.6645 GB, free: 340 kB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.001541/0.2006, allocations: 364.9 kB / 0.6648 GB, free: 15.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2007, allocations: 51.41 kB / 0.6649 GB, free: 15.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.201, allocations: 345.7 kB / 0.6652 GB, free: 15.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2011, allocations: 29.7 kB / 0.6652 GB, free: 15.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2013, allocations: 204.4 kB / 0.6654 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.2013, allocations: 35.62 kB / 0.6655 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.2014, allocations: 37.69 kB / 0.6655 GB, free: 15.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.2016, allocations: 338.8 kB / 0.6658 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2018, allocations: 84.72 kB / 0.6659 GB, free: 14.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2021, allocations: 108.2 kB / 0.666 GB, free: 14.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.2026, allocations: 153.5 kB / 0.6662 GB, free: 14.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2026, allocations: 4 kB / 0.6662 GB, free: 14.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006015/0.2033, allocations: 221.1 kB / 0.6664 GB, free: 14.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2033, allocations: 5.875 kB / 0.6664 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2033, allocations: 4 kB / 0.6664 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2033, allocations: 0 / 0.6664 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2036, allocations: 43.98 kB / 0.6664 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2037, allocations: 0 / 0.6664 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.204, allocations: 39.8 kB / 0.6665 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.204, allocations: 8 kB / 0.6665 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002239/0.2042, allocations: 152 kB / 0.6666 GB, free: 14.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001548/0.2044, allocations: 88.19 kB / 0.6667 GB, free: 13.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002151/0.2046, allocations: 97.66 kB / 0.6668 GB, free: 13.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2047, allocations: 0 / 0.6668 GB, free: 13.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization_lambda0): time 0.0003381/0.205, allocations: 173.2 kB / 0.667 GB, free: 13.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.205, allocations: 7.938 kB / 0.667 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-06/0.205, allocations: 0 / 0.667 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.205, allocations: 3.984 kB / 0.667 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2051, allocations: 23.98 kB / 0.667 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.2051, allocations: 0 / 0.667 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2053, allocations: 24.02 kB / 0.667 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2054, allocations: 4 kB / 0.667 GB, free: 13.62 MB / 458.7 MB 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 (11): * Single equations (assignments): 11 * 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.0001231/0.2055, allocations: 188.2 kB / 0.6672 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.2056, allocations: 39.47 kB / 0.6672 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.2063, allocations: 264.9 kB / 0.6675 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2063, allocations: 4 kB / 0.6675 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2063, allocations: 128 / 0.6675 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2064, allocations: 7.984 kB / 0.6675 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.2068, allocations: 321.4 kB / 0.6678 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2068, allocations: 0 / 0.6678 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.207, allocations: 31.97 kB / 0.6678 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2071, allocations: 4 kB / 0.6678 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2071, allocations: 11.98 kB / 0.6679 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2071, allocations: 0 / 0.6679 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2071, allocations: 0 / 0.6679 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.2078, allocations: 339.9 kB / 0.6682 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.2079, allocations: 104.7 kB / 0.6683 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.208, allocations: 4 kB / 0.6683 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2083, allocations: 31.95 kB / 0.6683 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.2083, allocations: 7.984 kB / 0.6683 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2084, allocations: 4 kB / 0.6683 GB, free: 12.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002731/0.2086, allocations: 247.2 kB / 0.6686 GB, free: 11.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2086, allocations: 4 kB / 0.6686 GB, free: 11.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006089/0.2093, allocations: 187.6 kB / 0.6687 GB, free: 11.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 9 * 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.0005494/0.2098, allocations: 228.8 kB / 0.669 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.2106, allocations: 226.8 kB / 0.6692 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2106, allocations: 0 / 0.6692 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.2109, allocations: 96.08 kB / 0.6693 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.2117, allocations: 142.2 kB / 0.6694 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2128, allocations: 0.6617 MB / 0.67 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.2133, allocations: 0.7921 MB / 0.6708 GB, free: 9.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.2136, allocations: 75.42 kB / 0.6709 GB, free: 9.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.2137, allocations: 39.42 kB / 0.6709 GB, free: 9.461 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2137, allocations: 4 kB / 0.6709 GB, free: 9.457 MB / 458.7 MB Notification: Performance of Templates: time 0.01199/0.2257, allocations: 6.631 MB / 0.6774 GB, free: 2.906 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)