Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 104 kB / 16.4 MB, free: 6.48 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.001137/0.001137, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6802/0.6802, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 64.83 kB / 0.5577 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1297, allocations: 76.19 MB / 0.6321 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01924/0.1491, allocations: 20.72 MB / 0.6523 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.1553, allocations: 4.947 MB / 0.6571 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/0.156, allocations: 15.88 kB / 0.6571 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.1569, allocations: 278 kB / 0.6574 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.159, allocations: 0.8224 MB / 0.6582 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1608, allocations: 0.7064 MB / 0.6589 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1623, allocations: 1.395 MB / 0.6603 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005136/0.1629, allocations: 444.3 kB / 0.6607 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007682/0.1636, allocations: 0.5759 MB / 0.6613 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.1642, allocations: 450.1 kB / 0.6617 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.1643, allocations: 36 kB / 0.6617 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.1652, allocations: 0.6316 MB / 0.6623 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1654, allocations: 131.4 kB / 0.6625 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1656, allocations: 290.5 kB / 0.6627 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.1665, allocations: 0.845 MB / 0.6636 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1665, allocations: 0 / 0.6636 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1665, allocations: 0 / 0.6636 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.1665, allocations: 0 / 0.6636 GB, free: 4.148 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001353/0.1679, allocations: 0.9265 MB / 0.6645 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1679, allocations: 8.031 kB / 0.6645 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1681, allocations: 64.19 kB / 0.6645 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.1686, allocations: 479.3 kB / 0.665 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1687, allocations: 28.66 kB / 0.665 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.1687, allocations: 36 kB / 0.6651 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.1693, allocations: 310 kB / 0.6653 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1694, allocations: 3.984 kB / 0.6654 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.1694, allocations: 12 kB / 0.6654 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1694, allocations: 4 kB / 0.6654 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.17, allocations: 258.4 kB / 0.6656 GB, free: 1.949 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.001893/0.1719, allocations: 1.345 MB / 0.6669 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.1724, allocations: 250.4 kB / 0.6672 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1727, allocations: 144.3 kB / 0.6673 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.173, allocations: 0.4908 MB / 0.6678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.173, allocations: 38.56 kB / 0.6678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.1731, allocations: 0 / 0.6678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001604/0.1747, allocations: 0.5611 MB / 0.6684 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1747, allocations: 55.41 kB / 0.6684 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.1752, allocations: 470.1 kB / 0.6689 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1752, allocations: 29.7 kB / 0.6689 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1753, allocations: 244.4 kB / 0.6691 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.1754, allocations: 86.75 kB / 0.6692 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1755, allocations: 81.67 kB / 0.6693 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1757, allocations: 354.8 kB / 0.6696 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.176, allocations: 120.8 kB / 0.6697 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.1763, allocations: 180.8 kB / 0.6699 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.1769, allocations: 279.8 kB / 0.6702 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1769, allocations: 0 / 0.6702 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001456/0.1783, allocations: 498.8 kB / 0.6707 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1784, allocations: 4 kB / 0.6707 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1784, allocations: 0 / 0.6707 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.1787, allocations: 56.84 kB / 0.6707 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.1791, allocations: 67.89 kB / 0.6708 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/0.1794, allocations: 0.564 MB / 0.6713 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1798, allocations: 55.67 kB / 0.6714 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.1799, allocations: 11.98 kB / 0.6714 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003766/0.1803, allocations: 240 kB / 0.6716 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003158/0.1806, allocations: 177.5 kB / 0.6718 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005347/0.1811, allocations: 265 kB / 0.672 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1811, allocations: 0 / 0.672 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007231/0.1819, allocations: 368.8 kB / 0.6724 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.1819, allocations: 4 kB / 0.6724 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1819, allocations: 8.141 kB / 0.6724 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-06/0.1819, allocations: 0 / 0.6724 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.1823, allocations: 79.83 kB / 0.6725 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1823, allocations: 3.984 kB / 0.6725 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.1827, allocations: 51.8 kB / 0.6725 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1827, allocations: 19.98 kB / 0.6726 GB, free: 10.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1828, allocations: 192.2 kB / 0.6727 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.1829, allocations: 47.44 kB / 0.6728 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.1838, allocations: 419.8 kB / 0.6732 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1838, allocations: 11.94 kB / 0.6732 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1838, allocations: 3.938 kB / 0.6732 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1838, allocations: 3.984 kB / 0.6732 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1852, allocations: 0.9497 MB / 0.6741 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1852, allocations: 0 / 0.6741 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1854, allocations: 47.91 kB / 0.6742 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.1856, allocations: 44.83 kB / 0.6742 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1856, allocations: 7.984 kB / 0.6742 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000303/0.1859, allocations: 0.5603 MB / 0.6748 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1859, allocations: 3.938 kB / 0.6748 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.1867, allocations: 495 kB / 0.6753 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1868, allocations: 152.5 kB / 0.6754 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.1869, allocations: 4 kB / 0.6754 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.1872, allocations: 23.97 kB / 0.6754 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1873, allocations: 28.05 kB / 0.6755 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1873, allocations: 15.98 kB / 0.6755 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003016/0.1877, allocations: 330.8 kB / 0.6758 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1877, allocations: 0 / 0.6758 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006971/0.1884, allocations: 255.5 kB / 0.676 GB, free: 6.684 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004436/0.1888, allocations: 248.7 kB / 0.6763 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.1899, allocations: 470.2 kB / 0.6767 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1899, allocations: 0 / 0.6767 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.1903, allocations: 167.8 kB / 0.6769 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.1913, allocations: 214.1 kB / 0.6771 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1925, allocations: 0.8318 MB / 0.6779 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1928, allocations: 0.8587 MB / 0.6787 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.1932, allocations: 124.1 kB / 0.6788 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.1933, allocations: 39.44 kB / 0.6789 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1933, allocations: 0 / 0.6789 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of Templates: time 0.01672/0.21, allocations: 10.18 MB / 0.6888 GB, free: 9.656 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)