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.000764/0.000764, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008399/0.0008399, allocations: 215.9 kB / 23.01 MB, free: 3.109 MB / 13.93 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.9004/0.9004, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.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-531:190: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-531:198: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.8007/0.8007, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [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: 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.0008619/0.0008619, allocations: 65.47 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4611, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1641/0.6252, allocations: 191.3 MB / 1.006 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.6364, allocations: 13.25 MB / 1.019 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.6375, allocations: 47.62 kB / 1.019 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6386, allocations: 449 kB / 1.019 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.6409, allocations: 1.209 MB / 1.02 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.6423, allocations: 0.7674 MB / 1.021 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002198/0.6445, allocations: 2.064 MB / 1.023 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.6452, allocations: 0.6254 MB / 1.024 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.6484, allocations: 2.071 MB / 1.026 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.6497, allocations: 0.6953 MB / 1.027 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.6498, allocations: 80 kB / 1.027 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.6512, allocations: 0.9276 MB / 1.028 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.6514, allocations: 390.9 kB / 1.028 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.6518, allocations: 0.4937 MB / 1.028 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.6538, allocations: 1.502 MB / 1.03 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.6538, allocations: 8 kB / 1.03 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.436e-06/0.6538, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.6539, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.8073 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.001824/0.6557, allocations: 1.183 MB / 1.031 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6557, allocations: 17.45 kB / 1.031 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.6565, allocations: 215.2 kB / 1.031 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000828/0.6573, allocations: 0.6194 MB / 1.032 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.6573, allocations: 61.98 kB / 1.032 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.6574, allocations: 76 kB / 1.032 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.6583, allocations: 0.9288 MB / 1.033 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.6584, allocations: 4 kB / 1.033 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.6584, allocations: 39.88 kB / 1.033 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.6585, allocations: 33.25 kB / 1.033 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.6592, allocations: 0.6216 MB / 1.034 GB, free: 6.703 MB / 0.8073 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.003113/0.6623, allocations: 4.595 MB / 1.038 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.6629, allocations: 465.1 kB / 1.038 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.6631, allocations: 238.4 kB / 1.039 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.6632, allocations: 28.67 kB / 1.039 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.6632, allocations: 42.55 kB / 1.039 GB, free: 1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.6632, allocations: 0 / 1.039 GB, free: 1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.001901/0.6651, allocations: 1.538 MB / 1.04 GB, free: 15.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6652, allocations: 110.8 kB / 1.04 GB, free: 15.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.6658, allocations: 0.7116 MB / 1.041 GB, free: 14.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.6658, allocations: 37.7 kB / 1.041 GB, free: 14.53 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.666, allocations: 420.6 kB / 1.042 GB, free: 14.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.6661, allocations: 170.6 kB / 1.042 GB, free: 13.94 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.6662, allocations: 126.3 kB / 1.042 GB, free: 13.81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.6663, allocations: 326 kB / 1.042 GB, free: 13.49 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.6665, allocations: 197.1 kB / 1.042 GB, free: 13.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.6668, allocations: 413 kB / 1.043 GB, free: 12.8 MB / 0.823 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.00149/0.6683, allocations: 1.096 MB / 1.044 GB, free: 11.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6683, allocations: 8 kB / 1.044 GB, free: 11.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006706/0.669, allocations: 0.6761 MB / 1.044 GB, free: 10.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.669, allocations: 11.94 kB / 1.044 GB, free: 10.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.669, allocations: 4 kB / 1.044 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.669, allocations: 12 kB / 1.044 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.6693, allocations: 127.8 kB / 1.045 GB, free: 10.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6693, allocations: 15.94 kB / 1.045 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.6696, allocations: 31.92 kB / 1.045 GB, free: 10.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.6696, allocations: 24 kB / 1.045 GB, free: 10.71 MB / 0.823 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.0002973/0.6699, allocations: 286.2 kB / 1.045 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.67, allocations: 87.42 kB / 1.045 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.6701, allocations: 95.66 kB / 1.045 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6701, allocations: 4.062 kB / 1.045 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6701, allocations: 4 kB / 1.045 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004841/0.6706, allocations: 0.6998 MB / 1.046 GB, free: 9.445 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.6722, allocations: 1.611 MB / 1.047 GB, free: 7.734 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6722, allocations: 4 kB / 1.047 GB, free: 7.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.6724, allocations: 99.83 kB / 1.047 GB, free: 7.633 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.6724, allocations: 7.938 kB / 1.047 GB, free: 7.625 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.6724, allocations: 20.48 kB / 1.047 GB, free: 7.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.6724, allocations: 8 kB / 1.048 GB, free: 7.598 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6724, allocations: 8 kB / 1.048 GB, free: 7.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.6732, allocations: 0.8691 MB / 1.048 GB, free: 6.652 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.6734, allocations: 139.4 kB / 1.048 GB, free: 6.516 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.6734, allocations: 19.98 kB / 1.049 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.6737, allocations: 12 kB / 1.049 GB, free: 6.484 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.6737, allocations: 39.81 kB / 1.049 GB, free: 6.445 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.6737, allocations: 24 kB / 1.049 GB, free: 6.422 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004146/0.6741, allocations: 0.5146 MB / 1.049 GB, free: 5.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6741, allocations: 0 / 1.049 GB, free: 5.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005212/0.6747, allocations: 196 kB / 1.049 GB, free: 5.719 MB / 0.823 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.0003926/0.6751, allocations: 187.6 kB / 1.049 GB, free: 5.539 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.6756, allocations: 467.4 kB / 1.05 GB, free: 5.082 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6756, allocations: 0 / 1.05 GB, free: 5.082 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.6758, allocations: 205.9 kB / 1.05 GB, free: 4.883 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.6773, allocations: 478.1 kB / 1.051 GB, free: 4.438 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.6792, allocations: 1.735 MB / 1.052 GB, free: 2.613 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.6796, allocations: 1.032 MB / 1.053 GB, free: 1.551 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6797, allocations: 71.42 kB / 1.053 GB, free: 1.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.372e-06/0.6797, allocations: 0 / 1.053 GB, free: 1.48 MB / 0.823 GB Notification: Performance of Templates: time 0.01554/0.6953, allocations: 13.01 MB / 1.066 GB, free: 4.613 MB / 0.8386 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.379671236965805] Failed to read output from testmodel.py, exit status != 0: 0.7012393509503454 0.713968571 0.05746286900000001 Calling exit ...