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.0007975/0.0007975, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007764/0.0007764, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.8707/0.8707, allocations: 177.1 MB / 203.5 MB, free: 5.707 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-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.695/0.695, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.332e-06/1.332e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.901e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4301/0.4302, allocations: 165.5 MB / 0.7809 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.4418, allocations: 12 MB / 0.7926 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.4426, allocations: 48.12 kB / 0.7927 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4438, allocations: 431.5 kB / 0.7931 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.4459, allocations: 1.229 MB / 0.7943 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4472, allocations: 0.7936 MB / 0.795 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.4488, allocations: 2.046 MB / 0.797 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006274/0.4494, allocations: 0.618 MB / 0.7976 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.4522, allocations: 2.233 MB / 0.7998 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.4531, allocations: 0.6122 MB / 0.8004 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.4532, allocations: 80.47 kB / 0.8005 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009396/0.4542, allocations: 0.7317 MB / 0.8012 GB, free: 296 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.4544, allocations: 413.9 kB / 0.8016 GB, free: 112 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.4547, allocations: 354 kB / 0.8019 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.456, allocations: 1.514 MB / 0.8034 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.456, allocations: 6.438 kB / 0.8034 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.482e-06/0.456, allocations: 0 / 0.8034 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.456, allocations: 0 / 0.8034 GB, free: 15.31 MB / 0.6667 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.001236/0.4572, allocations: 1.175 MB / 0.8046 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4573, allocations: 13.67 kB / 0.8046 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.4579, allocations: 224.1 kB / 0.8048 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.4587, allocations: 0.6138 MB / 0.8054 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4587, allocations: 57.69 kB / 0.8055 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.4588, allocations: 78.25 kB / 0.8055 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.4597, allocations: 1.059 MB / 0.8066 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4597, allocations: 6.5 kB / 0.8066 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.4598, allocations: 32.25 kB / 0.8066 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.4598, allocations: 28.03 kB / 0.8066 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.4604, allocations: 0.6193 MB / 0.8072 GB, free: 12.64 MB / 0.6667 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.002426/0.4629, allocations: 3.576 MB / 0.8107 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.4634, allocations: 453.7 kB / 0.8112 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.4636, allocations: 240.3 kB / 0.8114 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4637, allocations: 24.52 kB / 0.8114 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4637, allocations: 43.62 kB / 0.8115 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.4637, allocations: 0 / 0.8115 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001753/0.4655, allocations: 1.518 MB / 0.8129 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4655, allocations: 107.8 kB / 0.813 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.4659, allocations: 0.541 MB / 0.8136 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4659, allocations: 36.42 kB / 0.8136 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.4663, allocations: 446.8 kB / 0.814 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.935e-05/0.4664, allocations: 165.9 kB / 0.8142 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.4665, allocations: 122.4 kB / 0.8143 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4666, allocations: 370.7 kB / 0.8147 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.4668, allocations: 189.4 kB / 0.8148 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.4671, allocations: 0.5586 MB / 0.8154 GB, free: 6.027 MB / 0.6667 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.001354/0.4685, allocations: 1.112 MB / 0.8165 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4685, allocations: 2.719 kB / 0.8165 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007146/0.4692, allocations: 0.653 MB / 0.8171 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4692, allocations: 5.531 kB / 0.8171 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4693, allocations: 7.906 kB / 0.8171 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4693, allocations: 13.53 kB / 0.8171 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.4695, allocations: 126.8 kB / 0.8173 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.4695, allocations: 18.5 kB / 0.8173 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4698, allocations: 30.69 kB / 0.8173 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.4698, allocations: 34.53 kB / 0.8173 GB, free: 4.914 MB / 0.6667 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.0002347/0.47, allocations: 275.3 kB / 0.8176 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.4701, allocations: 67.36 kB / 0.8177 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.4702, allocations: 76.62 kB / 0.8177 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4702, allocations: 9.594 kB / 0.8177 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4702, allocations: 0 / 0.8177 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004825/0.4707, allocations: 0.7124 MB / 0.8184 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.472, allocations: 1.428 MB / 0.8198 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.472, allocations: 5.312 kB / 0.8198 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4723, allocations: 104.8 kB / 0.8199 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4723, allocations: 4.906 kB / 0.8199 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.4723, allocations: 19.98 kB / 0.82 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4723, allocations: 9.406 kB / 0.82 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4723, allocations: 5.5 kB / 0.82 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.473, allocations: 0.838 MB / 0.8208 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4731, allocations: 116.9 kB / 0.8209 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.4732, allocations: 12.31 kB / 0.8209 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.4734, allocations: 24.02 kB / 0.8209 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.4734, allocations: 39.2 kB / 0.821 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4734, allocations: 23.95 kB / 0.821 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002591/0.4737, allocations: 362.8 kB / 0.8213 GB, free: 2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5e-08/0.4737, allocations: 0 / 0.8213 GB, free: 2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000427/0.4741, allocations: 196.4 kB / 0.8215 GB, free: 1.98 MB / 0.6667 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.0003684/0.4745, allocations: 199.6 kB / 0.8217 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.475, allocations: 461.2 kB / 0.8222 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.475, allocations: 0 / 0.8222 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.4752, allocations: 200.4 kB / 0.8224 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.476, allocations: 341.6 kB / 0.8227 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.4777, allocations: 1.62 MB / 0.8243 GB, free: 284 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.4781, allocations: 436.1 kB / 0.8247 GB, free: 28 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4782, allocations: 59.91 kB / 0.8247 GB, free: 16 kB / 0.6667 GB Notification: Performance of SimCode: time 4.21e-07/0.4782, allocations: 0 / 0.8247 GB, free: 16 kB / 0.6667 GB Notification: Performance of Templates: time 0.009851/0.4881, allocations: 11.54 MB / 0.836 GB, free: 4.828 MB / 0.6823 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.927014883607626] Failed to read output from testmodel.py, exit status != 0: 0.4937491938471794 0.501418132 0.04390151299999994 Calling exit ...