Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001936/0.001936, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002407/0.002407, allocations: 157.3 kB / 23.01 MB, free: 4.605 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8144/0.8144, allocations: 101.3 MB / 361.1 MB, free: 9.555 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 65.78 kB / 0.5356 GB, free: 5.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1791, allocations: 85.88 MB / 0.6195 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5662/0.7453, allocations: 168.4 MB / 0.7839 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.7558, allocations: 5.389 MB / 0.7892 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.7571, allocations: 57.81 kB / 0.7893 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.7587, allocations: 0.5426 MB / 0.7898 GB, free: 16 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005261/0.764, allocations: 1.914 MB / 0.7917 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.7675, allocations: 1.188 MB / 0.7928 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.7718, allocations: 3.012 MB / 0.7958 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.7731, allocations: 0.8161 MB / 0.7966 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.7752, allocations: 1.134 MB / 0.7977 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.7776, allocations: 1.002 MB / 0.7986 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.7778, allocations: 123.3 kB / 0.7988 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.7805, allocations: 1.214 MB / 0.7999 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.7812, allocations: 0.5918 MB / 0.8005 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.782, allocations: 0.5971 MB / 0.8011 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.7856, allocations: 2.316 MB / 0.8034 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.7856, allocations: 2.844 kB / 0.8034 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7856, allocations: 0 / 0.8034 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.7856, allocations: 4 kB / 0.8034 GB, free: 7.195 MB / 0.6387 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.002863/0.7885, allocations: 1.585 MB / 0.8049 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7885, allocations: 8.156 kB / 0.8049 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.7907, allocations: 332.4 kB / 0.8052 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.7924, allocations: 0.8527 MB / 0.8061 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.7925, allocations: 77.83 kB / 0.8062 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.7926, allocations: 104 kB / 0.8063 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.7949, allocations: 1.529 MB / 0.8077 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.7949, allocations: 0 / 0.8077 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.795, allocations: 47.28 kB / 0.8078 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.7951, allocations: 36.28 kB / 0.8078 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.7968, allocations: 0.9896 MB / 0.8088 GB, free: 3.523 MB / 0.6387 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.006202/0.803, allocations: 2.716 MB / 0.8114 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.8039, allocations: 0.5603 MB / 0.812 GB, free: 220 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.8045, allocations: 315.3 kB / 0.8123 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.8047, allocations: 32.48 kB / 0.8123 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.8047, allocations: 39.06 kB / 0.8124 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.8047, allocations: 4 kB / 0.8124 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.004761/0.8095, allocations: 1.91 MB / 0.8142 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.8095, allocations: 59.84 kB / 0.8143 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8106, allocations: 0.6918 MB / 0.815 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.8107, allocations: 41.7 kB / 0.815 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.8113, allocations: 0.535 MB / 0.8155 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.8116, allocations: 206.3 kB / 0.8157 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.8118, allocations: 138.6 kB / 0.8159 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.8121, allocations: 386.8 kB / 0.8162 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.8126, allocations: 281.8 kB / 0.8165 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.8134, allocations: 0.5366 MB / 0.817 GB, free: 10.89 MB / 0.6544 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.004304/0.8177, allocations: 1.658 MB / 0.8186 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.8177, allocations: 4 kB / 0.8186 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001761/0.8195, allocations: 0.9128 MB / 0.8195 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8195, allocations: 10.69 kB / 0.8195 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8195, allocations: 11.94 kB / 0.8195 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.8198, allocations: 98.52 kB / 0.8196 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.8206, allocations: 159.8 kB / 0.8198 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.8251, allocations: 4.259 MB / 0.824 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/0.826, allocations: 32.81 kB / 0.824 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.8261, allocations: 24 kB / 0.824 GB, free: 3.348 MB / 0.6544 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.0007061/0.8268, allocations: 352.5 kB / 0.8243 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.8271, allocations: 87.48 kB / 0.8244 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.8273, allocations: 95.72 kB / 0.8245 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.8273, allocations: 8 kB / 0.8245 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8273, allocations: 0 / 0.8245 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.8286, allocations: 0.7599 MB / 0.8253 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.8322, allocations: 1.701 MB / 0.8269 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.8322, allocations: 7.938 kB / 0.8269 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.833, allocations: 148.2 kB / 0.8271 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.8331, allocations: 40.84 kB / 0.8271 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.8331, allocations: 27.91 kB / 0.8271 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.8349, allocations: 1.464 MB / 0.8286 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8349, allocations: 7.938 kB / 0.8286 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.8372, allocations: 1.227 MB / 0.8298 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.8377, allocations: 159.4 kB / 0.8299 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.8379, allocations: 16 kB / 0.8299 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.8387, allocations: 31.95 kB / 0.83 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.8388, allocations: 55.8 kB / 0.83 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.8389, allocations: 27.98 kB / 0.8301 GB, free: 12.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007653/0.8396, allocations: 487 kB / 0.8305 GB, free: 12.37 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8396, allocations: 4 kB / 0.8305 GB, free: 12.37 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001132/0.8408, allocations: 296 kB / 0.8308 GB, free: 12.08 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.000371/0.8412, allocations: 177.7 kB / 0.831 GB, free: 11.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.8429, allocations: 0.983 MB / 0.8319 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.8429, allocations: 4 kB / 0.8319 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.8436, allocations: 436.2 kB / 0.8324 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.8462, allocations: 0.5194 MB / 0.8329 GB, free: 9.941 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.8505, allocations: 2.117 MB / 0.8349 GB, free: 7.75 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.8514, allocations: 0.5775 MB / 0.8355 GB, free: 7.145 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009271/0.8523, allocations: 222.9 kB / 0.8357 GB, free: 6.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.8526, allocations: 72.48 kB / 0.8358 GB, free: 6.852 MB / 0.67 GB Notification: Performance of SimCode: time 1.212e-06/0.8526, allocations: 0 / 0.8358 GB, free: 6.852 MB / 0.67 GB Notification: Performance of Templates: time 0.0371/0.8897, allocations: 19.86 MB / 0.8552 GB, free: 3.41 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.813535075983964] Failed to read output from testmodel.py, exit status != 0: 0.8982803599210456 0.914180036 0.12524169799999996 Calling exit ...