Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001309/0.001309, allocations: 78.8 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.001437/0.001437, allocations: 164.8 kB / 23.01 MB, free: 4.602 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.8254/0.8254, allocations: 101.3 MB / 361.1 MB, free: 9.516 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002222/0.002222, allocations: 62.84 kB / 0.5356 GB, free: 5.18 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.1705/0.1727, allocations: 85.88 MB / 0.6195 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5466/0.7193, allocations: 165.6 MB / 0.7812 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.7372, allocations: 12.02 MB / 0.7929 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.7385, allocations: 45 kB / 0.793 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.7399, allocations: 421.9 kB / 0.7934 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.7431, allocations: 1.21 MB / 0.7946 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.7449, allocations: 0.7148 MB / 0.7953 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.7474, allocations: 2.042 MB / 0.7973 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.7483, allocations: 0.6089 MB / 0.7979 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.7523, allocations: 1.869 MB / 0.7997 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.7539, allocations: 0.6835 MB / 0.8004 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.754, allocations: 77.53 kB / 0.8004 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.7556, allocations: 0.7321 MB / 0.8011 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.756, allocations: 401.5 kB / 0.8015 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004995/0.7565, allocations: 418.4 kB / 0.8019 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.7586, allocations: 1.492 MB / 0.8034 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7586, allocations: 0 / 0.8034 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7586, allocations: 0 / 0.8034 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7586, allocations: 4 kB / 0.8034 GB, free: 6.582 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00185/0.7604, allocations: 1.196 MB / 0.8046 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.7605, allocations: 8.688 kB / 0.8046 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.7617, allocations: 222 kB / 0.8048 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.7628, allocations: 0.6117 MB / 0.8054 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.7628, allocations: 57.41 kB / 0.8054 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.7629, allocations: 75.25 kB / 0.8055 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.7644, allocations: 1.053 MB / 0.8065 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.7644, allocations: 10.06 kB / 0.8065 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.7645, allocations: 32.28 kB / 0.8066 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.7645, allocations: 36.08 kB / 0.8066 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.7655, allocations: 0.6137 MB / 0.8072 GB, free: 3.91 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.004072/0.7695, allocations: 3.579 MB / 0.8107 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.7702, allocations: 443.9 kB / 0.8111 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.7706, allocations: 228.4 kB / 0.8113 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7707, allocations: 24.27 kB / 0.8114 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.7708, allocations: 47.41 kB / 0.8114 GB, free: 364 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.464e-06/0.7708, allocations: 0 / 0.8114 GB, free: 364 kB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.003142/0.7739, allocations: 1.522 MB / 0.8129 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.774, allocations: 111 kB / 0.813 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.7747, allocations: 0.542 MB / 0.8135 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.7747, allocations: 33.7 kB / 0.8136 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.7751, allocations: 440 kB / 0.814 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.7753, allocations: 170.5 kB / 0.8141 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.7755, allocations: 118.3 kB / 0.8143 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.7757, allocations: 370.8 kB / 0.8146 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.776, allocations: 186.2 kB / 0.8148 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.7766, allocations: 0.5578 MB / 0.8153 GB, free: 12.4 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.779, allocations: 1.098 MB / 0.8164 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.779, allocations: 0 / 0.8164 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001193/0.7802, allocations: 0.664 MB / 0.817 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7802, allocations: 11.94 kB / 0.8171 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.7802, allocations: 8 kB / 0.8171 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.7802, allocations: 8 kB / 0.8171 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.7807, allocations: 126.9 kB / 0.8172 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.7807, allocations: 17.22 kB / 0.8172 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.7813, allocations: 31.95 kB / 0.8172 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.7813, allocations: 31.98 kB / 0.8173 GB, free: 10.32 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: 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.0004148/0.7817, allocations: 268.1 kB / 0.8175 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.7819, allocations: 75.5 kB / 0.8176 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.782, allocations: 78.25 kB / 0.8177 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.782, allocations: 4 kB / 0.8177 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.782, allocations: 0 / 0.8177 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008034/0.7828, allocations: 0.6987 MB / 0.8184 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.7853, allocations: 1.435 MB / 0.8198 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.7853, allocations: 4 kB / 0.8198 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.7858, allocations: 104.4 kB / 0.8199 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.7858, allocations: 8 kB / 0.8199 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.7859, allocations: 15.94 kB / 0.8199 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.7859, allocations: 11.94 kB / 0.8199 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7859, allocations: 7.938 kB / 0.8199 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.7872, allocations: 0.8817 MB / 0.8208 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.7875, allocations: 111.5 kB / 0.8209 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.7876, allocations: 15.94 kB / 0.8209 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.788, allocations: 23.98 kB / 0.8209 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.7881, allocations: 43.81 kB / 0.821 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.7881, allocations: 20 kB / 0.821 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005209/0.7886, allocations: 362.8 kB / 0.8213 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 0 / 0.8213 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008588/0.7895, allocations: 196 kB / 0.8215 GB, free: 5.734 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0004705/0.7899, allocations: 185 kB / 0.8217 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008062/0.7907, allocations: 455.3 kB / 0.8221 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.7908, allocations: 8 kB / 0.8221 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.7911, allocations: 199.7 kB / 0.8223 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.7926, allocations: 335.6 kB / 0.8226 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.7957, allocations: 1.651 MB / 0.8242 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.7963, allocations: 436.2 kB / 0.8247 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005866/0.7968, allocations: 169.2 kB / 0.8248 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.797, allocations: 52.5 kB / 0.8249 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.797, allocations: 0 / 0.8249 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of Templates: time 0.02376/0.8208, allocations: 11.98 MB / 0.8366 GB, free: 6.52 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.465425516013056] Failed to read output from testmodel.py, exit status != 0: 0.8293952140957117 0.845128939 0.08331076800000001 Calling exit ...