Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 403.3 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98.62 kB / 484.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009732/0.0009734, allocations: 59.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1502, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01957/0.1699, allocations: 20.66 MB / 0.6603 GB, free: 2.059 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.1763, allocations: 4.982 MB / 0.6652 GB, free: 13.06 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.1768, allocations: 15.88 kB / 0.6652 GB, free: 13.05 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.1775, allocations: 222.7 kB / 0.6654 GB, free: 12.83 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.1792, allocations: 0.7474 MB / 0.6662 GB, free: 12.08 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.181, allocations: 0.6442 MB / 0.6668 GB, free: 11.44 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.1829, allocations: 1.822 MB / 0.6686 GB, free: 9.613 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.1834, allocations: 376.1 kB / 0.6689 GB, free: 9.242 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.1843, allocations: 0.5329 MB / 0.6694 GB, free: 8.707 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.1848, allocations: 458 kB / 0.6699 GB, free: 8.258 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.1849, allocations: 24 kB / 0.6699 GB, free: 8.234 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.186, allocations: 0.6003 MB / 0.6705 GB, free: 7.633 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1862, allocations: 107.5 kB / 0.6706 GB, free: 7.527 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.1864, allocations: 278.5 kB / 0.6709 GB, free: 7.254 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1874, allocations: 0.8217 MB / 0.6717 GB, free: 6.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1874, allocations: 0 / 0.6717 GB, free: 6.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1875, allocations: 0 / 0.6717 GB, free: 6.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1875, allocations: 0 / 0.6717 GB, free: 6.43 MB / 474.7 MB 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.001561/0.189, allocations: 0.9188 MB / 0.6726 GB, free: 5.461 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1891, allocations: 8.031 kB / 0.6726 GB, free: 5.453 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1892, allocations: 64.19 kB / 0.6726 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.1898, allocations: 458.8 kB / 0.6731 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1898, allocations: 28.66 kB / 0.6731 GB, free: 4.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.1899, allocations: 36 kB / 0.6731 GB, free: 4.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.1905, allocations: 310 kB / 0.6734 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1905, allocations: 0 / 0.6734 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1906, allocations: 12 kB / 0.6734 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.1906, allocations: 8 kB / 0.6734 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.1912, allocations: 262.4 kB / 0.6737 GB, free: 4.254 MB / 474.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.002048/0.1933, allocations: 1.341 MB / 0.675 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.1938, allocations: 256 kB / 0.6752 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1941, allocations: 136.7 kB / 0.6754 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004138/0.1945, allocations: 0.5025 MB / 0.6759 GB, free: 1.785 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1945, allocations: 30.56 kB / 0.6759 GB, free: 1.746 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.1946, allocations: 4 kB / 0.6759 GB, free: 1.742 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001894/0.1965, allocations: 0.5636 MB / 0.6765 GB, free: 1.152 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1965, allocations: 51.41 kB / 0.6765 GB, free: 1.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.197, allocations: 466 kB / 0.6769 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.197, allocations: 41.69 kB / 0.677 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1972, allocations: 240.4 kB / 0.6772 GB, free: 348 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1973, allocations: 86.73 kB / 0.6773 GB, free: 260 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1974, allocations: 77.67 kB / 0.6774 GB, free: 176 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1975, allocations: 358.8 kB / 0.6777 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1978, allocations: 124.8 kB / 0.6778 GB, free: 15.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.1982, allocations: 177.4 kB / 0.678 GB, free: 15.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.1988, allocations: 278.3 kB / 0.6783 GB, free: 15.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1989, allocations: 4 kB / 0.6783 GB, free: 15.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001626/0.2005, allocations: 492.5 kB / 0.6787 GB, free: 14.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2005, allocations: 7.984 kB / 0.6787 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2005, allocations: 0 / 0.6787 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.2009, allocations: 60.75 kB / 0.6788 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2013, allocations: 67.95 kB / 0.6789 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003988/0.2017, allocations: 0.5639 MB / 0.6794 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.2021, allocations: 63.69 kB / 0.6795 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.2022, allocations: 16 kB / 0.6795 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004068/0.2026, allocations: 240 kB / 0.6797 GB, free: 13.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000338/0.203, allocations: 180.8 kB / 0.6799 GB, free: 13.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005942/0.2036, allocations: 254.4 kB / 0.6801 GB, free: 13.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.2036, allocations: 0 / 0.6801 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008066/0.2044, allocations: 372.2 kB / 0.6805 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2044, allocations: 8 kB / 0.6805 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2044, allocations: 3.938 kB / 0.6805 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-06/0.2044, allocations: 0 / 0.6805 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.2048, allocations: 83.88 kB / 0.6806 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2048, allocations: 4 kB / 0.6806 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2053, allocations: 59.7 kB / 0.6806 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.2054, allocations: 11.98 kB / 0.6807 GB, free: 12.69 MB / 490.7 MB 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.0001701/0.2055, allocations: 205.5 kB / 0.6809 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.2056, allocations: 51.38 kB / 0.6809 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/0.2066, allocations: 419.9 kB / 0.6813 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.2067, allocations: 7.984 kB / 0.6813 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2067, allocations: 0 / 0.6813 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2067, allocations: 0 / 0.6813 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.2082, allocations: 0.9553 MB / 0.6822 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2082, allocations: 0 / 0.6822 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2085, allocations: 51.89 kB / 0.6823 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.2087, allocations: 44.95 kB / 0.6823 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2087, allocations: 8 kB / 0.6823 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/0.209, allocations: 0.5601 MB / 0.6829 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.209, allocations: 3.938 kB / 0.6829 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.2104, allocations: 1.27 MB / 0.6841 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.2106, allocations: 156.4 kB / 0.6843 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.2107, allocations: 8 kB / 0.6843 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.211, allocations: 35.86 kB / 0.6843 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.2111, allocations: 27.97 kB / 0.6844 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2111, allocations: 12 kB / 0.6844 GB, free: 8.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.2115, allocations: 318.9 kB / 0.6847 GB, free: 8.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2115, allocations: 4 kB / 0.6847 GB, free: 8.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009243/0.2124, allocations: 255.5 kB / 0.6849 GB, free: 8.121 MB / 490.7 MB 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.000532/0.2129, allocations: 259.9 kB / 0.6852 GB, free: 7.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2141, allocations: 463.5 kB / 0.6856 GB, free: 7.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2141, allocations: 0 / 0.6856 GB, free: 7.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.2145, allocations: 163.8 kB / 0.6858 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.2161, allocations: 255.4 kB / 0.686 GB, free: 7.008 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2177, allocations: 1.215 MB / 0.6872 GB, free: 5.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.2182, allocations: 0.863 MB / 0.688 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.2186, allocations: 116.7 kB / 0.6881 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2187, allocations: 43.42 kB / 0.6882 GB, free: 4.699 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2188, allocations: 0 / 0.6882 GB, free: 4.699 MB / 490.7 MB Notification: Performance of Templates: time 0.2732/0.492, allocations: 10.15 MB / 0.6981 GB, free: 58.33 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)