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.001317/0.001317, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001447/0.001447, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8591/0.8591, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.463e-06/1.463e-06, allocations: 0 / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.483e-05, allocations: 2.312 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1409/0.141, allocations: 149 MB / 0.6143 GB, free: 1.676 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.1485, allocations: 3.307 MB / 0.6176 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1496, allocations: 43.62 kB / 0.6176 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.1504, allocations: 254.1 kB / 0.6178 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.1521, allocations: 0.8857 MB / 0.6187 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.1533, allocations: 0.7132 MB / 0.6194 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1549, allocations: 2.02 MB / 0.6214 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009738/0.1559, allocations: 0.6592 MB / 0.622 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.1572, allocations: 1.107 MB / 0.6231 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.1578, allocations: 0.5686 MB / 0.6237 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/0.1579, allocations: 76 kB / 0.6237 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.1586, allocations: 399 kB / 0.6241 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.1589, allocations: 410.8 kB / 0.6245 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.1592, allocations: 351.2 kB / 0.6248 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1602, allocations: 0.9616 MB / 0.6258 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1602, allocations: 0 / 0.6258 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1602, allocations: 0 / 0.6258 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1602, allocations: 0 / 0.6258 GB, free: 5.945 MB / 0.5886 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.001021/0.1613, allocations: 1.107 MB / 0.6269 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1613, allocations: 8.031 kB / 0.6269 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007007/0.162, allocations: 276.3 kB / 0.6271 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.1626, allocations: 0.5318 MB / 0.6276 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.1627, allocations: 62.12 kB / 0.6277 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.1628, allocations: 79.95 kB / 0.6278 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.1634, allocations: 0.7758 MB / 0.6285 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1634, allocations: 7.938 kB / 0.6285 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.1634, allocations: 32 kB / 0.6286 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.1634, allocations: 29.31 kB / 0.6286 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1637, allocations: 256.1 kB / 0.6288 GB, free: 2.617 MB / 0.5886 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.002277/0.166, allocations: 3.266 MB / 0.632 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1663, allocations: 385.8 kB / 0.6324 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1665, allocations: 107.7 kB / 0.6325 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.1665, allocations: 24.31 kB / 0.6325 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1666, allocations: 42.83 kB / 0.6326 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.1666, allocations: 0 / 0.6326 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001036/0.1676, allocations: 0.6408 MB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1676, allocations: 110.8 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1679, allocations: 482.9 kB / 0.6338 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1679, allocations: 33.7 kB / 0.6338 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1681, allocations: 369.2 kB / 0.6341 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.1682, allocations: 170.6 kB / 0.6343 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1683, allocations: 114.2 kB / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003618/0.1687, allocations: 374.6 kB / 0.6348 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1687, allocations: 64.17 kB / 0.6348 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.1689, allocations: 392.7 kB / 0.6352 GB, free: 11.7 MB / 0.6042 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.000459/0.1694, allocations: 498.9 kB / 0.6357 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1694, allocations: 0 / 0.6357 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003494/0.1698, allocations: 353.1 kB / 0.636 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1698, allocations: 8 kB / 0.636 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1698, allocations: 8 kB / 0.636 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1698, allocations: 8 kB / 0.636 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1701, allocations: 131.8 kB / 0.6362 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1701, allocations: 16.5 kB / 0.6362 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1703, allocations: 31.89 kB / 0.6362 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.1703, allocations: 27.98 kB / 0.6362 GB, free: 10.54 MB / 0.6042 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.000146/0.1705, allocations: 156.4 kB / 0.6364 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.1706, allocations: 60 kB / 0.6365 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.1706, allocations: 74.25 kB / 0.6365 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1706, allocations: 4 kB / 0.6365 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1706, allocations: 0 / 0.6365 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000247/0.1709, allocations: 487.6 kB / 0.637 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1719, allocations: 1.037 MB / 0.638 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1719, allocations: 7.938 kB / 0.638 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.1722, allocations: 119.1 kB / 0.6381 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1722, allocations: 8 kB / 0.6381 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1722, allocations: 12 kB / 0.6381 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.1722, allocations: 15.92 kB / 0.6382 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1722, allocations: 4 kB / 0.6382 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.1727, allocations: 0.5278 MB / 0.6387 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.1728, allocations: 95.47 kB / 0.6388 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.1729, allocations: 19.98 kB / 0.6388 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.1732, allocations: 19.45 kB / 0.6388 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1733, allocations: 39.83 kB / 0.6388 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.1733, allocations: 15.98 kB / 0.6389 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002292/0.1735, allocations: 204.4 kB / 0.6391 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1735, allocations: 0 / 0.6391 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005411/0.1741, allocations: 203.9 kB / 0.6392 GB, free: 7.211 MB / 0.6042 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.0003187/0.1744, allocations: 160.7 kB / 0.6394 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1747, allocations: 255 kB / 0.6396 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.1747, allocations: 12 kB / 0.6397 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1748, allocations: 110 kB / 0.6398 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.1756, allocations: 368.5 kB / 0.6401 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1772, allocations: 1.385 MB / 0.6415 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1773, allocations: 201.5 kB / 0.6417 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.1776, allocations: 101.4 kB / 0.6418 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.1781, allocations: 279.1 kB / 0.642 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.1781, allocations: 0 / 0.642 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of Templates: time 0.0161/0.1942, allocations: 12.9 MB / 0.6546 GB, free: 7.801 MB / 0.6198 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.163662015926093]