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.0008152/0.0008152, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009513/0.0009513, allocations: 169 kB / 23.02 MB, free: 1.543 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.9303/0.9303, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7834/0.7834, allocations: 154.9 MB / 414.8 MB, free: 404 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.192e-06/1.192e-06, allocations: 0 / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.321e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1394/0.1394, allocations: 149.6 MB / 0.6668 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00497/0.1444, allocations: 3.245 MB / 0.67 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.145, allocations: 43.62 kB / 0.67 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.1455, allocations: 250.1 kB / 0.6703 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.1469, allocations: 0.8857 MB / 0.6712 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.148, allocations: 0.721 MB / 0.6719 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.1496, allocations: 2.018 MB / 0.6738 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006555/0.1503, allocations: 0.6374 MB / 0.6745 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.1518, allocations: 1.132 MB / 0.6756 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.1525, allocations: 0.5959 MB / 0.6761 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1526, allocations: 80 kB / 0.6762 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.1531, allocations: 387 kB / 0.6766 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.1534, allocations: 418.8 kB / 0.677 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.1537, allocations: 355.2 kB / 0.6773 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1547, allocations: 0.9577 MB / 0.6783 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1547, allocations: 0 / 0.6783 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1547, allocations: 0 / 0.6783 GB, free: 128 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.1547, allocations: 0 / 0.6783 GB, free: 128 kB / 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.3025/0.4572, allocations: 1.253 MB / 0.6795 GB, free: 61.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4572, allocations: 11.64 kB / 0.6795 GB, free: 61.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.4579, allocations: 281.9 kB / 0.6798 GB, free: 61.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.4587, allocations: 0.6333 MB / 0.6804 GB, free: 61.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.4587, allocations: 54.66 kB / 0.6804 GB, free: 61.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.4588, allocations: 81.25 kB / 0.6805 GB, free: 61.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.4595, allocations: 0.8603 MB / 0.6813 GB, free: 60.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4595, allocations: 16.33 kB / 0.6814 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.4595, allocations: 33.8 kB / 0.6814 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.4596, allocations: 26.16 kB / 0.6814 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.46, allocations: 304.4 kB / 0.6817 GB, free: 60.83 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.002093/0.4621, allocations: 4.634 MB / 0.6862 GB, free: 57.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4624, allocations: 298.2 kB / 0.6865 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4626, allocations: 128 kB / 0.6866 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.4626, allocations: 28.06 kB / 0.6867 GB, free: 57.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.4627, allocations: 45.33 kB / 0.6867 GB, free: 57.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 1.262e-06/0.4627, allocations: 0 / 0.6867 GB, free: 57.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001351/0.464, allocations: 1.127 MB / 0.6878 GB, free: 56.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.464, allocations: 106.5 kB / 0.6879 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.4644, allocations: 0.547 MB / 0.6884 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.4644, allocations: 36.52 kB / 0.6885 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4646, allocations: 495.6 kB / 0.689 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.4646, allocations: 167.9 kB / 0.6891 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4647, allocations: 122.5 kB / 0.6892 GB, free: 55.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.4648, allocations: 0.5489 MB / 0.6898 GB, free: 55.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4649, allocations: 71.84 kB / 0.6898 GB, free: 55.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4651, allocations: 0.4957 MB / 0.6903 GB, free: 54.82 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.0005758/0.4657, allocations: 0.6081 MB / 0.6909 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4657, allocations: 0 / 0.6909 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004916/0.4662, allocations: 484.4 kB / 0.6914 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4662, allocations: 9.375 kB / 0.6914 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4662, allocations: 5.938 kB / 0.6914 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4662, allocations: 9.594 kB / 0.6914 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.4665, allocations: 126.2 kB / 0.6915 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4665, allocations: 15.55 kB / 0.6915 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.4667, allocations: 19.22 kB / 0.6916 GB, free: 54.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.4668, allocations: 31.77 kB / 0.6916 GB, free: 54.4 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.0001266/0.4669, allocations: 202.5 kB / 0.6918 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.467, allocations: 83.58 kB / 0.6919 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.467, allocations: 76.45 kB / 0.6919 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.467, allocations: 3.844 kB / 0.6919 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4671, allocations: 3.719 kB / 0.6919 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002852/0.4673, allocations: 0.5325 MB / 0.6925 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4684, allocations: 1.386 MB / 0.6938 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4684, allocations: 3.062 kB / 0.6938 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.4687, allocations: 101.6 kB / 0.6939 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4687, allocations: 6.438 kB / 0.6939 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4687, allocations: 19.97 kB / 0.6939 GB, free: 53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.4687, allocations: 9.656 kB / 0.6939 GB, free: 53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4687, allocations: 5.344 kB / 0.694 GB, free: 53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.4692, allocations: 0.6548 MB / 0.6946 GB, free: 52.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4693, allocations: 111.3 kB / 0.6947 GB, free: 52.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.4694, allocations: 17.88 kB / 0.6947 GB, free: 52.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4695, allocations: 19.73 kB / 0.6947 GB, free: 52.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.4696, allocations: 39.12 kB / 0.6948 GB, free: 52.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4696, allocations: 18.03 kB / 0.6948 GB, free: 52.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00022/0.4698, allocations: 346.3 kB / 0.6951 GB, free: 52.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4698, allocations: 0.9375 kB / 0.6951 GB, free: 52.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004316/0.4702, allocations: 195.9 kB / 0.6953 GB, free: 52.41 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.0002774/0.4705, allocations: 178.6 kB / 0.6955 GB, free: 52.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.4709, allocations: 291.7 kB / 0.6958 GB, free: 52.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4709, allocations: 0.9375 kB / 0.6958 GB, free: 52.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.471, allocations: 143.6 kB / 0.6959 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.4719, allocations: 340.9 kB / 0.6962 GB, free: 52.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.4735, allocations: 1.485 MB / 0.6977 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4736, allocations: 205.8 kB / 0.6979 GB, free: 51.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.474, allocations: 153.2 kB / 0.698 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4741, allocations: 55.14 kB / 0.6981 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4741, allocations: 0 / 0.6981 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.01409/0.4882, allocations: 12.63 MB / 0.7104 GB, free: 50.33 MB / 0.6355 GB " [Timeout remaining time 660] 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.290123310871422]