Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001015/0.001015, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001303/0.001303, 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 0.9716/0.9716, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8379/0.8379, allocations: 154.9 MB / 415.9 MB, free: 260 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.045e-05, allocations: 5.766 kB / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1358/0.1359, allocations: 148.2 MB / 0.6666 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004878/0.1407, allocations: 3.824 MB / 0.6703 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1413, allocations: 51.56 kB / 0.6704 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.142, allocations: 301.7 kB / 0.6707 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.1436, allocations: 1.181 MB / 0.6718 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1448, allocations: 0.8965 MB / 0.6727 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00216/0.147, allocations: 2.994 MB / 0.6756 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008923/0.1479, allocations: 0.8442 MB / 0.6765 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.1498, allocations: 1.589 MB / 0.678 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.1507, allocations: 0.9038 MB / 0.6789 GB, free: 396 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1508, allocations: 124 kB / 0.679 GB, free: 272 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3035/0.4543, allocations: 418.8 kB / 0.6794 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007721/0.455, allocations: 0.6228 MB / 0.68 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.4558, allocations: 0.515 MB / 0.6805 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4574, allocations: 1.348 MB / 0.6818 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4574, allocations: 3.406 kB / 0.6818 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.32e-07/0.4574, allocations: 0.8438 kB / 0.6818 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.4574, allocations: 0 / 0.6818 GB, free: 51.74 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001371/0.4588, allocations: 1.605 MB / 0.6834 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.4588, allocations: 12.59 kB / 0.6834 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.4598, allocations: 428.3 kB / 0.6838 GB, free: 50.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.4605, allocations: 0.7952 MB / 0.6846 GB, free: 50.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.4606, allocations: 77.09 kB / 0.6847 GB, free: 50.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.4606, allocations: 105.6 kB / 0.6848 GB, free: 50.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.4613, allocations: 1.008 MB / 0.6858 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.4613, allocations: 1.25 kB / 0.6858 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.4613, allocations: 42.38 kB / 0.6858 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.4614, allocations: 37.86 kB / 0.6858 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.4617, allocations: 320.2 kB / 0.6861 GB, free: 49.89 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.002492/0.4642, allocations: 2.458 MB / 0.6885 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.4645, allocations: 325.6 kB / 0.6889 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4646, allocations: 128.7 kB / 0.689 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.472e-05/0.4647, allocations: 25.69 kB / 0.689 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4648, allocations: 50.45 kB / 0.6891 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.335e-06/0.4648, allocations: 0 / 0.6891 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55): time 0.001311/0.4661, allocations: 0.9532 MB / 0.69 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.4661, allocations: 57.78 kB / 0.69 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.4664, allocations: 0.6549 MB / 0.6907 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.4665, allocations: 41.98 kB / 0.6907 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4666, allocations: 0.5973 MB / 0.6913 GB, free: 48.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.4667, allocations: 209.7 kB / 0.6915 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4669, allocations: 142.6 kB / 0.6916 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.467, allocations: 0.5748 MB / 0.6922 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4671, allocations: 76.03 kB / 0.6923 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.4673, allocations: 329.6 kB / 0.6926 GB, free: 47.39 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.4679, allocations: 0.5853 MB / 0.6932 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4679, allocations: 1.062 kB / 0.6932 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00054/0.4684, allocations: 0.5145 MB / 0.6937 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4684, allocations: 9.094 kB / 0.6937 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4684, allocations: 4 kB / 0.6937 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.163e-05/0.4685, allocations: 62.02 kB / 0.6937 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.4689, allocations: 157.2 kB / 0.6939 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.4701, allocations: 5.186 MB / 0.6989 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.4705, allocations: 25.77 kB / 0.699 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4705, allocations: 20.31 kB / 0.699 GB, free: 41.91 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.4707, allocations: 204.4 kB / 0.6992 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4708, allocations: 105 kB / 0.6993 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.4709, allocations: 94.34 kB / 0.6994 GB, free: 41.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4709, allocations: 6.094 kB / 0.6994 GB, free: 41.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4709, allocations: 5.141 kB / 0.6994 GB, free: 41.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003046/0.4712, allocations: 439.2 kB / 0.6998 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.4723, allocations: 1.203 MB / 0.701 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4723, allocations: 3.812 kB / 0.701 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.4726, allocations: 135.3 kB / 0.7011 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.581e-05/0.4727, allocations: 28.64 kB / 0.7011 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.4727, allocations: 14.19 kB / 0.7012 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004314/0.4731, allocations: 1.76 MB / 0.7029 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4731, allocations: 8.781 kB / 0.7029 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.4736, allocations: 0.7047 MB / 0.7036 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.4738, allocations: 143 kB / 0.7037 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.4739, allocations: 23.69 kB / 0.7037 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.4742, allocations: 26.48 kB / 0.7038 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.4742, allocations: 52.61 kB / 0.7038 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.4743, allocations: 27.16 kB / 0.7038 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002114/0.4745, allocations: 402.5 kB / 0.7042 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4745, allocations: 0 / 0.7042 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005626/0.4751, allocations: 306.4 kB / 0.7045 GB, free: 38.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.4752, allocations: 153 kB / 0.7047 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.4757, allocations: 0.8167 MB / 0.7055 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4757, allocations: 0 / 0.7055 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.4759, allocations: 339.2 kB / 0.7058 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4771, allocations: 0.526 MB / 0.7063 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.4789, allocations: 1.836 MB / 0.7081 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.4791, allocations: 280.2 kB / 0.7083 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.4794, allocations: 145.9 kB / 0.7085 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.4801, allocations: 497.9 kB / 0.709 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.4801, allocations: 0 / 0.709 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.02565/0.5058, allocations: 21.59 MB / 0.73 GB, free: 34.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.748891782015562]