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.001123/0.001123, allocations: 89.06 kB / 19.65 MB, free: 280 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.001173/0.001173, allocations: 165 kB / 23.01 MB, free: 1.551 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.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.8051/0.8051, allocations: 154.8 MB / 414.7 MB, free: 468 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.533e-06/1.533e-06, allocations: 0 / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.591e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1353/0.1353, allocations: 149.6 MB / 0.6667 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1394, allocations: 3.238 MB / 0.6699 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.1398, allocations: 43.62 kB / 0.6699 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.1405, allocations: 262 kB / 0.6702 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1416, allocations: 0.874 MB / 0.671 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.1456, allocations: 0.721 MB / 0.6717 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002504/0.1481, allocations: 2.011 MB / 0.6737 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.1493, allocations: 0.6452 MB / 0.6743 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.1513, allocations: 0.9818 MB / 0.6753 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.1527, allocations: 0.6256 MB / 0.6759 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.1529, allocations: 80 kB / 0.676 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.154, allocations: 482.7 kB / 0.6764 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.1545, allocations: 418.9 kB / 0.6768 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.155, allocations: 351.2 kB / 0.6772 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1567, allocations: 0.985 MB / 0.6781 GB, free: 200 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1567, allocations: 0 / 0.6781 GB, free: 200 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1567, allocations: 0 / 0.6781 GB, free: 200 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.1567, allocations: 4 kB / 0.6781 GB, free: 196 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.2859/0.4426, allocations: 1.263 MB / 0.6794 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4427, allocations: 12.25 kB / 0.6794 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007604/0.4434, allocations: 291.5 kB / 0.6797 GB, free: 61.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.4442, allocations: 0.6481 MB / 0.6803 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.4442, allocations: 60 kB / 0.6803 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.4443, allocations: 76.41 kB / 0.6804 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.445, allocations: 0.8677 MB / 0.6813 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.445, allocations: 3.75 kB / 0.6813 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.4451, allocations: 35.78 kB / 0.6813 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.4451, allocations: 33.62 kB / 0.6813 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.4455, allocations: 302.6 kB / 0.6816 GB, free: 60.72 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.002215/0.4477, allocations: 4.632 MB / 0.6861 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.4482, allocations: 322.8 kB / 0.6865 GB, free: 57.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4483, allocations: 131 kB / 0.6866 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.4484, allocations: 26.83 kB / 0.6866 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4485, allocations: 49.28 kB / 0.6867 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.4485, allocations: 3.516 kB / 0.6867 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001536/0.45, allocations: 1.118 MB / 0.6877 GB, free: 56.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.45, allocations: 115.1 kB / 0.6879 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.4504, allocations: 0.5391 MB / 0.6884 GB, free: 56.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4504, allocations: 35.64 kB / 0.6884 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4506, allocations: 493.9 kB / 0.6889 GB, free: 55.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.4507, allocations: 174.3 kB / 0.6891 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4508, allocations: 121 kB / 0.6892 GB, free: 55.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4509, allocations: 0.5468 MB / 0.6897 GB, free: 55.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.451, allocations: 79.19 kB / 0.6898 GB, free: 55.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.4513, allocations: 0.5281 MB / 0.6903 GB, free: 54.66 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.0007653/0.4521, allocations: 0.618 MB / 0.6909 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4521, allocations: 4.406 kB / 0.6909 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006233/0.4527, allocations: 484.4 kB / 0.6914 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4527, allocations: 9.656 kB / 0.6914 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.4527, allocations: 5.875 kB / 0.6914 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.4528, allocations: 12.22 kB / 0.6914 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.453, allocations: 123.3 kB / 0.6915 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.453, allocations: 17.55 kB / 0.6915 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4533, allocations: 32.19 kB / 0.6916 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.4533, allocations: 31.25 kB / 0.6916 GB, free: 54.23 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 (74): * Single equations (assignments): 74 * 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.0001667/0.4535, allocations: 203.1 kB / 0.6918 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.4536, allocations: 84.52 kB / 0.6919 GB, free: 54.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.4537, allocations: 82.77 kB / 0.6919 GB, free: 54.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4537, allocations: 5.781 kB / 0.6919 GB, free: 54.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4537, allocations: 0.9375 kB / 0.6919 GB, free: 54.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003185/0.454, allocations: 0.5332 MB / 0.6925 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.4552, allocations: 1.394 MB / 0.6938 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4552, allocations: 3.812 kB / 0.6938 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.4555, allocations: 100.3 kB / 0.6939 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4555, allocations: 6.594 kB / 0.6939 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4555, allocations: 17.41 kB / 0.694 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4555, allocations: 7.938 kB / 0.694 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4555, allocations: 9.812 kB / 0.694 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.456, allocations: 0.6582 MB / 0.6946 GB, free: 52.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.4561, allocations: 112.7 kB / 0.6947 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.4562, allocations: 22.2 kB / 0.6947 GB, free: 52.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.4564, allocations: 12.62 kB / 0.6948 GB, free: 52.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.4564, allocations: 47.78 kB / 0.6948 GB, free: 52.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4564, allocations: 17.03 kB / 0.6948 GB, free: 52.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002307/0.4567, allocations: 349.6 kB / 0.6951 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4567, allocations: 0 / 0.6951 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004601/0.4571, allocations: 199.5 kB / 0.6953 GB, free: 52.25 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 (45): * Single equations (assignments): 45 * 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.0003592/0.4575, allocations: 179.8 kB / 0.6955 GB, free: 52.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.4579, allocations: 290.5 kB / 0.6958 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4579, allocations: 2.438 kB / 0.6958 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.458, allocations: 143.4 kB / 0.6959 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.4588, allocations: 341.6 kB / 0.6963 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4607, allocations: 1.487 MB / 0.6977 GB, free: 51.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.4608, allocations: 201.6 kB / 0.6979 GB, free: 51.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.4611, allocations: 147.7 kB / 0.698 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.4612, allocations: 59.12 kB / 0.6981 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.4612, allocations: 0 / 0.6981 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.01376/0.475, allocations: 11.86 MB / 0.7097 GB, free: 50.29 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.585862457752228]