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.001062/0.001062, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001407/0.001407, allocations: 173 kB / 23.36 MB, free: 1.129 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.9891/0.9891, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.79/0.79, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.473e-06/1.473e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.246e-05, allocations: 6.312 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.14/0.1401, allocations: 149 MB / 0.6142 GB, free: 1.781 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005513/0.1456, allocations: 3.293 MB / 0.6175 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.1463, allocations: 39.69 kB / 0.6175 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.147, allocations: 258 kB / 0.6177 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.1486, allocations: 0.8896 MB / 0.6186 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1498, allocations: 0.721 MB / 0.6193 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.1518, allocations: 2.016 MB / 0.6213 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.1527, allocations: 0.6419 MB / 0.6219 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.1547, allocations: 1.109 MB / 0.623 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000775/0.1555, allocations: 0.5648 MB / 0.6235 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1556, allocations: 83.94 kB / 0.6236 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.1563, allocations: 379.1 kB / 0.624 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.1566, allocations: 418.9 kB / 0.6244 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.1569, allocations: 351.2 kB / 0.6247 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1581, allocations: 0.9615 MB / 0.6257 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1581, allocations: 0 / 0.6257 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1581, allocations: 0 / 0.6257 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.1581, allocations: 4 kB / 0.6257 GB, free: 6.055 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.001287/0.1594, allocations: 1.106 MB / 0.6267 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1594, allocations: 12.03 kB / 0.6268 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.1601, allocations: 260.4 kB / 0.627 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.1609, allocations: 0.5357 MB / 0.6275 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.1609, allocations: 62.12 kB / 0.6276 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.161, allocations: 87.94 kB / 0.6277 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.1617, allocations: 0.7757 MB / 0.6284 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1617, allocations: 0 / 0.6284 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.1617, allocations: 32 kB / 0.6285 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.1618, allocations: 37.23 kB / 0.6285 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1621, allocations: 260.1 kB / 0.6287 GB, free: 2.723 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.002376/0.1645, allocations: 3.262 MB / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.1648, allocations: 387.2 kB / 0.6323 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1649, allocations: 115.1 kB / 0.6324 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-05/0.165, allocations: 24.31 kB / 0.6324 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.165, allocations: 38.89 kB / 0.6325 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.165, allocations: 0 / 0.6325 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001081/0.1661, allocations: 0.6447 MB / 0.6331 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1662, allocations: 106.8 kB / 0.6332 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.1665, allocations: 479 kB / 0.6337 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1665, allocations: 37.7 kB / 0.6337 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1667, allocations: 373.2 kB / 0.634 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.1668, allocations: 166.6 kB / 0.6342 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1669, allocations: 114.2 kB / 0.6343 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.167, allocations: 382.7 kB / 0.6347 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.1671, allocations: 56.11 kB / 0.6347 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1673, allocations: 396.7 kB / 0.6351 GB, free: 11.81 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.0005091/0.1678, allocations: 0.4989 MB / 0.6356 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1678, allocations: 0 / 0.6356 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00038/0.1682, allocations: 349.2 kB / 0.6359 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1682, allocations: 8 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1682, allocations: 4 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1682, allocations: 12 kB / 0.636 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.1685, allocations: 124.5 kB / 0.6361 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1685, allocations: 12 kB / 0.6361 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1687, allocations: 35.88 kB / 0.6361 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1687, allocations: 20 kB / 0.6361 GB, free: 10.66 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.0001517/0.1689, allocations: 157.7 kB / 0.6363 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.169, allocations: 59.94 kB / 0.6363 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.1691, allocations: 70.25 kB / 0.6364 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1691, allocations: 4 kB / 0.6364 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1691, allocations: 4 kB / 0.6364 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002712/0.1693, allocations: 475.7 kB / 0.6369 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1704, allocations: 1.038 MB / 0.6379 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1705, allocations: 4.5 kB / 0.6379 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.1707, allocations: 99.77 kB / 0.638 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1707, allocations: 8 kB / 0.638 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1707, allocations: 16 kB / 0.638 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1707, allocations: 7.984 kB / 0.638 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1707, allocations: 8 kB / 0.638 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.1712, allocations: 0.5328 MB / 0.6385 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1713, allocations: 91.48 kB / 0.6386 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.1713, allocations: 15.98 kB / 0.6386 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1715, allocations: 16 kB / 0.6387 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1715, allocations: 39.83 kB / 0.6387 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1716, allocations: 15.98 kB / 0.6387 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001515/0.1717, allocations: 212.3 kB / 0.6389 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1717, allocations: 0 / 0.6389 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004704/0.1722, allocations: 199.9 kB / 0.6391 GB, free: 7.359 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.000345/0.1725, allocations: 165.5 kB / 0.6393 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1728, allocations: 243.4 kB / 0.6395 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.1728, allocations: 16 kB / 0.6395 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.173, allocations: 114 kB / 0.6396 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.1737, allocations: 362 kB / 0.64 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1755, allocations: 1.401 MB / 0.6413 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.1756, allocations: 209.5 kB / 0.6415 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.1759, allocations: 105.4 kB / 0.6416 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.1764, allocations: 275.1 kB / 0.6419 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.1764, allocations: 0 / 0.6419 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of Templates: time 0.01609/0.1925, allocations: 12.89 MB / 0.6545 GB, free: 7.941 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.164437064900994]