Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9731/0.9731, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7676/0.7676, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0.7656 kB / 0.5208 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.217e-05, allocations: 4.172 kB / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.142/0.142, allocations: 146.9 MB / 0.6642 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005922/0.148, allocations: 3.217 MB / 0.6673 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.149, allocations: 43.62 kB / 0.6674 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.1499, allocations: 258 kB / 0.6676 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1518, allocations: 0.8857 MB / 0.6685 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1534, allocations: 0.7132 MB / 0.6692 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.156, allocations: 2.027 MB / 0.6712 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1575, allocations: 0.6413 MB / 0.6718 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.1606, allocations: 1.121 MB / 0.6729 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.1618, allocations: 0.592 MB / 0.6735 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.162, allocations: 80 kB / 0.6735 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1631, allocations: 391 kB / 0.6739 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.1635, allocations: 422.8 kB / 0.6743 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006719/0.1642, allocations: 347.2 kB / 0.6747 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.1661, allocations: 0.9577 MB / 0.6756 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1661, allocations: 4 kB / 0.6756 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1661, allocations: 4 kB / 0.6756 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.978e-05/0.1661, allocations: 0 / 0.6756 GB, free: 2.957 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001994/0.1681, allocations: 1.258 MB / 0.6768 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1682, allocations: 8.031 kB / 0.6768 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.1692, allocations: 275.9 kB / 0.6771 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.1701, allocations: 0.6176 MB / 0.6777 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.1701, allocations: 62.12 kB / 0.6778 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.1702, allocations: 79.95 kB / 0.6778 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3399/0.5101, allocations: 0.8173 MB / 0.6786 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.5101, allocations: 6.266 kB / 0.6786 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/0.5102, allocations: 39.69 kB / 0.6787 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.5102, allocations: 28.56 kB / 0.6787 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.5107, allocations: 247.8 kB / 0.6789 GB, free: 63.18 MB / 0.6355 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.002709/0.5134, allocations: 4.639 MB / 0.6835 GB, free: 59.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.5137, allocations: 284.6 kB / 0.6837 GB, free: 59.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.5138, allocations: 115.8 kB / 0.6839 GB, free: 59.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.514, allocations: 31.38 kB / 0.6839 GB, free: 59.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.514, allocations: 44.34 kB / 0.6839 GB, free: 59.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 3.216e-06/0.514, allocations: 0 / 0.6839 GB, free: 59.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001398/0.5154, allocations: 0.7113 MB / 0.6846 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5154, allocations: 111.7 kB / 0.6847 GB, free: 59.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.5157, allocations: 0.5388 MB / 0.6853 GB, free: 59.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5158, allocations: 40.97 kB / 0.6853 GB, free: 58.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.516, allocations: 492.8 kB / 0.6858 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.516, allocations: 171.4 kB / 0.6859 GB, free: 58.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.5162, allocations: 124.8 kB / 0.686 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.5163, allocations: 0.5555 MB / 0.6866 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.5163, allocations: 52.48 kB / 0.6866 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5165, allocations: 492.9 kB / 0.6871 GB, free: 57.64 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.517, allocations: 0.5559 MB / 0.6876 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.517, allocations: 5.109 kB / 0.6877 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004309/0.5175, allocations: 437.1 kB / 0.6881 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5175, allocations: 9.25 kB / 0.6881 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5175, allocations: 5.781 kB / 0.6881 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5175, allocations: 8.625 kB / 0.6881 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.5177, allocations: 126 kB / 0.6882 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5178, allocations: 14.12 kB / 0.6882 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.518, allocations: 26.17 kB / 0.6883 GB, free: 57.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.518, allocations: 21.16 kB / 0.6883 GB, free: 57.22 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001641/0.5182, allocations: 203.8 kB / 0.6885 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.5183, allocations: 83.98 kB / 0.6885 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/0.5184, allocations: 77.52 kB / 0.6886 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5184, allocations: 6.438 kB / 0.6886 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5184, allocations: 0 / 0.6886 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002692/0.5186, allocations: 0.5164 MB / 0.6891 GB, free: 56.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.5198, allocations: 1.246 MB / 0.6903 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5198, allocations: 6.219 kB / 0.6904 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.52, allocations: 101 kB / 0.6904 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.52, allocations: 6.594 kB / 0.6905 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.52, allocations: 15.31 kB / 0.6905 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5201, allocations: 9.875 kB / 0.6905 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5201, allocations: 9.125 kB / 0.6905 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.5205, allocations: 0.6199 MB / 0.6911 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5206, allocations: 105.7 kB / 0.6912 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.5207, allocations: 15.97 kB / 0.6912 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5209, allocations: 12.16 kB / 0.6912 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.5209, allocations: 41.53 kB / 0.6913 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.5209, allocations: 15.25 kB / 0.6913 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001733/0.5211, allocations: 335.1 kB / 0.6916 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.5211, allocations: 0 / 0.6916 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004971/0.5216, allocations: 196.5 kB / 0.6918 GB, free: 55.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.0003678/0.522, allocations: 173.3 kB / 0.6919 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.5223, allocations: 267.8 kB / 0.6922 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5223, allocations: 0.75 kB / 0.6922 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.5224, allocations: 133.1 kB / 0.6923 GB, free: 55.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.5232, allocations: 353.9 kB / 0.6927 GB, free: 55.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.525, allocations: 1.47 MB / 0.6941 GB, free: 54.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.5251, allocations: 210 kB / 0.6943 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.5254, allocations: 101.6 kB / 0.6944 GB, free: 54.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.5259, allocations: 330.6 kB / 0.6947 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.5259, allocations: 0 / 0.6947 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.01615/0.542, allocations: 12.9 MB / 0.7073 GB, free: 53.23 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.372528539039195]