Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001014/0.001014, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009831/0.0009831, allocations: 169.7 kB / 23.27 MB, free: 1.215 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.008/1.008, allocations: 177.2 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7659/0.7659, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.319e-05, allocations: 3.672 kB / 0.5212 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1427/0.1427, allocations: 146.8 MB / 0.6645 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004937/0.1477, allocations: 3.221 MB / 0.6677 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.1482, allocations: 43.62 kB / 0.6677 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.1489, allocations: 254.1 kB / 0.668 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1504, allocations: 0.8895 MB / 0.6688 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1515, allocations: 0.7132 MB / 0.6695 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1532, allocations: 2.022 MB / 0.6715 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.1539, allocations: 0.6452 MB / 0.6721 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.1554, allocations: 1.134 MB / 0.6733 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.156, allocations: 0.592 MB / 0.6738 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.1561, allocations: 80 kB / 0.6739 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.1566, allocations: 383.1 kB / 0.6743 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.1569, allocations: 418.8 kB / 0.6747 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.1571, allocations: 347.2 kB / 0.675 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.1581, allocations: 0.9694 MB / 0.676 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1581, allocations: 0 / 0.676 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1581, allocations: 0 / 0.676 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.1581, allocations: 0 / 0.676 GB, free: 2.613 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.001138/0.1592, allocations: 1.258 MB / 0.6772 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1593, allocations: 8.031 kB / 0.6772 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.1599, allocations: 283.9 kB / 0.6775 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.1605, allocations: 0.6137 MB / 0.6781 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1605, allocations: 62.12 kB / 0.6781 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.1606, allocations: 79.95 kB / 0.6782 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3184/0.479, allocations: 0.8248 MB / 0.679 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.479, allocations: 2.656 kB / 0.679 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.4791, allocations: 32.34 kB / 0.679 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.4791, allocations: 29.75 kB / 0.6791 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.4794, allocations: 252.5 kB / 0.6793 GB, free: 62.75 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.002323/0.4817, allocations: 4.635 MB / 0.6838 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.482, allocations: 277 kB / 0.6841 GB, free: 59.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.4821, allocations: 121.8 kB / 0.6842 GB, free: 59.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-05/0.4822, allocations: 30.88 kB / 0.6842 GB, free: 59.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4822, allocations: 44.88 kB / 0.6843 GB, free: 59.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.4822, allocations: 0 / 0.6843 GB, free: 59.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001043/0.4833, allocations: 0.7193 MB / 0.685 GB, free: 58.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.4833, allocations: 108.5 kB / 0.6851 GB, free: 58.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.4836, allocations: 0.538 MB / 0.6856 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4836, allocations: 38.42 kB / 0.6857 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.4838, allocations: 0.49 MB / 0.6861 GB, free: 58.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4839, allocations: 166.5 kB / 0.6863 GB, free: 58.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.484, allocations: 121.7 kB / 0.6864 GB, free: 58.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.4841, allocations: 0.5535 MB / 0.6869 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.4841, allocations: 57.45 kB / 0.687 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4843, allocations: 491.9 kB / 0.6875 GB, free: 57.21 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.0004319/0.4847, allocations: 0.5583 MB / 0.688 GB, free: 56.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4847, allocations: 0 / 0.688 GB, free: 56.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003933/0.4851, allocations: 437 kB / 0.6884 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4851, allocations: 11.97 kB / 0.6884 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4851, allocations: 7.547 kB / 0.6884 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4852, allocations: 8.406 kB / 0.6885 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4854, allocations: 123.6 kB / 0.6886 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4854, allocations: 17.98 kB / 0.6886 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4856, allocations: 24.5 kB / 0.6886 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.4856, allocations: 21.12 kB / 0.6886 GB, free: 56.79 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.0001296/0.4858, allocations: 212.2 kB / 0.6888 GB, free: 56.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.4859, allocations: 80.39 kB / 0.6889 GB, free: 56.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.4859, allocations: 72.8 kB / 0.689 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4859, allocations: 6.531 kB / 0.689 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4859, allocations: 6.375 kB / 0.689 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002453/0.4862, allocations: 0.5157 MB / 0.6895 GB, free: 56.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.4871, allocations: 1.245 MB / 0.6907 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4871, allocations: 2.562 kB / 0.6907 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.4873, allocations: 101 kB / 0.6908 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4873, allocations: 6.625 kB / 0.6908 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.4874, allocations: 13.28 kB / 0.6908 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4874, allocations: 8.781 kB / 0.6908 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4874, allocations: 3.562 kB / 0.6908 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.4878, allocations: 0.6327 MB / 0.6915 GB, free: 55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.488, allocations: 98.64 kB / 0.6916 GB, free: 54.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.488, allocations: 19.56 kB / 0.6916 GB, free: 54.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4882, allocations: 13.75 kB / 0.6916 GB, free: 54.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4883, allocations: 41.2 kB / 0.6916 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4883, allocations: 19.27 kB / 0.6916 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001504/0.4884, allocations: 326.8 kB / 0.692 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4884, allocations: 0 / 0.692 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004321/0.4889, allocations: 197.7 kB / 0.6921 GB, free: 54.84 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.0002714/0.4891, allocations: 174.9 kB / 0.6923 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.4894, allocations: 267.2 kB / 0.6926 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4894, allocations: 0.9375 kB / 0.6926 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.4895, allocations: 126.1 kB / 0.6927 GB, free: 54.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.4903, allocations: 343.2 kB / 0.693 GB, free: 54.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.4919, allocations: 1.471 MB / 0.6945 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.4921, allocations: 209.3 kB / 0.6947 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.4924, allocations: 101.2 kB / 0.6947 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.4928, allocations: 335.2 kB / 0.6951 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.4928, allocations: 0.8438 kB / 0.6951 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.01407/0.5069, allocations: 12.89 MB / 0.7077 GB, free: 52.8 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.435296998824924]