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.001339/0.001339, allocations: 80.75 kB / 19.76 MB, free: 2.039 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.001671/0.001671, allocations: 157.8 kB / 23 MB, free: 4.945 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 9.293 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.8061/0.8061, allocations: 101.3 MB / 361.1 MB, free: 10.1 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.002368/0.002368, allocations: 61.62 kB / 0.5357 GB, free: 5.5 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.2038/0.2062, allocations: 85.89 MB / 0.6195 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5995/0.8057, allocations: 165.4 MB / 0.7811 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.8223, allocations: 11.99 MB / 0.7928 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.8236, allocations: 48.12 kB / 0.7928 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.8251, allocations: 435.9 kB / 0.7933 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.8285, allocations: 1.203 MB / 0.7944 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.8305, allocations: 0.7174 MB / 0.7951 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.8335, allocations: 2.047 MB / 0.7971 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.8345, allocations: 0.6141 MB / 0.7977 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/0.8394, allocations: 2.136 MB / 0.7998 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.8415, allocations: 0.6756 MB / 0.8005 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.8417, allocations: 79.62 kB / 0.8006 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.8435, allocations: 0.7407 MB / 0.8013 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.844, allocations: 390.6 kB / 0.8016 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.8446, allocations: 421.3 kB / 0.8021 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.8469, allocations: 1.495 MB / 0.8035 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8469, allocations: 0 / 0.8035 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8469, allocations: 0 / 0.8035 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.8469, allocations: 0 / 0.8035 GB, free: 6.715 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.002076/0.849, allocations: 1.187 MB / 0.8047 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.849, allocations: 15.19 kB / 0.8047 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.8503, allocations: 218 kB / 0.8049 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.8516, allocations: 0.6156 MB / 0.8055 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.8516, allocations: 57.81 kB / 0.8055 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8517, allocations: 79.03 kB / 0.8056 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8533, allocations: 1.054 MB / 0.8067 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.8533, allocations: 10.06 kB / 0.8067 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.8534, allocations: 35.12 kB / 0.8067 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.8534, allocations: 27.91 kB / 0.8067 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.8544, allocations: 0.6071 MB / 0.8073 GB, free: 4.047 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.004261/0.8586, allocations: 3.573 MB / 0.8108 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.8593, allocations: 452 kB / 0.8112 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.8596, allocations: 227.4 kB / 0.8115 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.8598, allocations: 24.64 kB / 0.8115 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.8598, allocations: 39.78 kB / 0.8115 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.8599, allocations: 0 / 0.8115 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002894/0.8627, allocations: 1.531 MB / 0.813 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.8628, allocations: 114.7 kB / 0.8131 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.8635, allocations: 0.5381 MB / 0.8136 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.8636, allocations: 37.7 kB / 0.8137 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.8639, allocations: 443.9 kB / 0.8141 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8641, allocations: 170.5 kB / 0.8143 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8643, allocations: 118.3 kB / 0.8144 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.8645, allocations: 370.8 kB / 0.8147 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.8648, allocations: 185.2 kB / 0.8149 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.8654, allocations: 0.5618 MB / 0.8155 GB, free: 12.66 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.002368/0.8678, allocations: 1.087 MB / 0.8165 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8678, allocations: 4 kB / 0.8165 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001108/0.8689, allocations: 0.6638 MB / 0.8172 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8689, allocations: 15.06 kB / 0.8172 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8689, allocations: 4 kB / 0.8172 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.869, allocations: 16 kB / 0.8172 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.8694, allocations: 127.8 kB / 0.8173 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.8695, allocations: 16.69 kB / 0.8173 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.87, allocations: 27.94 kB / 0.8174 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.87, allocations: 24 kB / 0.8174 GB, free: 10.59 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.0004191/0.8705, allocations: 275.1 kB / 0.8177 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8706, allocations: 75.52 kB / 0.8177 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.8708, allocations: 74.25 kB / 0.8178 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8708, allocations: 8 kB / 0.8178 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8708, allocations: 4 kB / 0.8178 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008137/0.8716, allocations: 0.6911 MB / 0.8185 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.8741, allocations: 1.439 MB / 0.8199 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8741, allocations: 4 kB / 0.8199 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.8745, allocations: 103.8 kB / 0.82 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.8746, allocations: 4 kB / 0.82 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.8746, allocations: 15.94 kB / 0.82 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/0.8746, allocations: 11.98 kB / 0.82 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.8746, allocations: 7.938 kB / 0.82 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.8759, allocations: 0.8792 MB / 0.8209 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.8762, allocations: 115.5 kB / 0.821 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.8763, allocations: 19.92 kB / 0.821 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.8767, allocations: 16 kB / 0.821 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.8767, allocations: 39.81 kB / 0.8211 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.8768, allocations: 20 kB / 0.8211 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000457/0.8772, allocations: 370.8 kB / 0.8214 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8772, allocations: 0 / 0.8214 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007739/0.878, allocations: 192 kB / 0.8216 GB, free: 6 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.000426/0.8784, allocations: 197.4 kB / 0.8218 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.8792, allocations: 452.8 kB / 0.8222 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8792, allocations: 0 / 0.8222 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.8796, allocations: 209.3 kB / 0.8224 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.8811, allocations: 342.1 kB / 0.8228 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.8837, allocations: 1.639 MB / 0.8244 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.8842, allocations: 440.2 kB / 0.8248 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.8848, allocations: 169.3 kB / 0.825 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.8849, allocations: 56.5 kB / 0.825 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.8849, allocations: 0 / 0.825 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of Templates: time 0.0228/0.9077, allocations: 11.96 MB / 0.8367 GB, free: 6.797 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 gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.289381803944707] Failed to read output from testmodel.py, exit status != 0: 0.9159292108379304 0.931796071 0.08142660399999994 Calling exit ...