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.0009898/0.0009898, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0008912/0.0008912, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7669/0.7669, allocations: 154.9 MB / 415.9 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 2.284e-06/2.284e-06, allocations: 4 kB / 0.5219 GB, free: 1.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.369e-05, allocations: 4.531 kB / 0.5219 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1406/0.1407, allocations: 146.8 MB / 0.6653 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.146, allocations: 3.221 MB / 0.6685 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.1469, allocations: 43.62 kB / 0.6685 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008096/0.1477, allocations: 250.1 kB / 0.6687 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.1495, allocations: 0.8895 MB / 0.6696 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1508, allocations: 0.7132 MB / 0.6703 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002163/0.153, allocations: 2.018 MB / 0.6723 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/0.154, allocations: 0.6374 MB / 0.6729 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.1559, allocations: 1.139 MB / 0.674 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007911/0.1567, allocations: 0.5843 MB / 0.6746 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1568, allocations: 80 kB / 0.6747 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.1575, allocations: 395 kB / 0.675 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.1578, allocations: 418.9 kB / 0.6754 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.1582, allocations: 355.2 kB / 0.6758 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1594, allocations: 0.9616 MB / 0.6767 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1594, allocations: 0 / 0.6767 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1594, allocations: 0 / 0.6767 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.1594, allocations: 0 / 0.6767 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.001317/0.1607, allocations: 1.255 MB / 0.6779 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1608, allocations: 8.031 kB / 0.678 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.1616, allocations: 283.9 kB / 0.6782 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.1623, allocations: 0.6136 MB / 0.6788 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.1623, allocations: 62.12 kB / 0.6789 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.1624, allocations: 79.95 kB / 0.679 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.306/0.4685, allocations: 0.8265 MB / 0.6798 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.4685, allocations: 2.562 kB / 0.6798 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.4685, allocations: 31.09 kB / 0.6798 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.4686, allocations: 31.36 kB / 0.6798 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.469, allocations: 252 kB / 0.6801 GB, free: 62.79 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.002742/0.4717, allocations: 4.638 MB / 0.6846 GB, free: 59.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.4721, allocations: 279.3 kB / 0.6849 GB, free: 59.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4722, allocations: 112.8 kB / 0.685 GB, free: 59.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.4723, allocations: 24.64 kB / 0.685 GB, free: 59.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4723, allocations: 50.34 kB / 0.685 GB, free: 59.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.4723, allocations: 1.375 kB / 0.685 GB, free: 59.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001284/0.4736, allocations: 0.7111 MB / 0.6857 GB, free: 58.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.4737, allocations: 108.7 kB / 0.6858 GB, free: 58.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.474, allocations: 0.5439 MB / 0.6864 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.474, allocations: 36.2 kB / 0.6864 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.4742, allocations: 498.8 kB / 0.6869 GB, free: 58.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.4742, allocations: 169 kB / 0.687 GB, free: 58.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4744, allocations: 128 kB / 0.6872 GB, free: 58.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.4744, allocations: 0.5527 MB / 0.6877 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.4745, allocations: 57.38 kB / 0.6878 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.4747, allocations: 486.7 kB / 0.6882 GB, free: 57.24 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.0004652/0.4752, allocations: 0.5661 MB / 0.6888 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4752, allocations: 2.906 kB / 0.6888 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004009/0.4756, allocations: 439.4 kB / 0.6892 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4756, allocations: 10.19 kB / 0.6892 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4756, allocations: 5.906 kB / 0.6892 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4756, allocations: 9.188 kB / 0.6892 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4758, allocations: 125.1 kB / 0.6893 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4758, allocations: 12.06 kB / 0.6894 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.4761, allocations: 25.17 kB / 0.6894 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.4761, allocations: 25.56 kB / 0.6894 GB, free: 56.82 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.0001338/0.4762, allocations: 198.7 kB / 0.6896 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.4763, allocations: 89.39 kB / 0.6897 GB, free: 56.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.4764, allocations: 75.62 kB / 0.6897 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4764, allocations: 6.344 kB / 0.6898 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4764, allocations: 0.5938 kB / 0.6898 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002413/0.4767, allocations: 0.5123 MB / 0.6903 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.4776, allocations: 1.248 MB / 0.6915 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4776, allocations: 3.469 kB / 0.6915 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.4779, allocations: 101.5 kB / 0.6916 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4779, allocations: 6.594 kB / 0.6916 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4779, allocations: 9.938 kB / 0.6916 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4779, allocations: 9.156 kB / 0.6916 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4779, allocations: 10.09 kB / 0.6916 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.4783, allocations: 0.615 MB / 0.6922 GB, free: 55.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4784, allocations: 108.6 kB / 0.6923 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.4785, allocations: 20.41 kB / 0.6923 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4787, allocations: 11 kB / 0.6923 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.4787, allocations: 42.61 kB / 0.6924 GB, free: 55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4787, allocations: 15.22 kB / 0.6924 GB, free: 55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001657/0.4789, allocations: 328.1 kB / 0.6927 GB, free: 54.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4789, allocations: 0 / 0.6927 GB, free: 54.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004484/0.4793, allocations: 200 kB / 0.6929 GB, free: 54.88 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.0002997/0.4796, allocations: 170.6 kB / 0.6931 GB, free: 54.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.48, allocations: 274.9 kB / 0.6933 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.48, allocations: 3.781 kB / 0.6933 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4801, allocations: 127 kB / 0.6935 GB, free: 54.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.4809, allocations: 340.8 kB / 0.6938 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4826, allocations: 1.483 MB / 0.6952 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.4827, allocations: 210.1 kB / 0.6954 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.483, allocations: 96.7 kB / 0.6955 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.4834, allocations: 335.8 kB / 0.6958 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.4834, allocations: 0 / 0.6958 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.01515/0.4986, allocations: 13.08 MB / 0.7086 GB, free: 52.79 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.34868654794991]