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.001264/0.001264, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001409/0.001409, allocations: 214 kB / 22.99 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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.8332/0.8332, allocations: 134 MB / 447.2 MB, free: 9.938 MB / 350.1 MB " [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.002072/0.002072, allocations: 71.11 kB / 0.6197 GB, free: 6.344 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1731, allocations: 85.9 MB / 0.7036 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5473/0.7204, allocations: 165.6 MB / 0.8653 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.7395, allocations: 12.01 MB / 0.8771 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.7407, allocations: 43.62 kB / 0.8771 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.7423, allocations: 429.1 kB / 0.8775 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.7459, allocations: 1.202 MB / 0.8787 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.7481, allocations: 0.7224 MB / 0.8794 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.7512, allocations: 2.044 MB / 0.8814 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.7524, allocations: 0.6098 MB / 0.882 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.7571, allocations: 1.868 MB / 0.8838 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.759, allocations: 0.6794 MB / 0.8845 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.7593, allocations: 80 kB / 0.8845 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.7612, allocations: 0.7364 MB / 0.8853 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.7617, allocations: 394.8 kB / 0.8856 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.7624, allocations: 418.2 kB / 0.886 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.7647, allocations: 1.495 MB / 0.8875 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7647, allocations: 0 / 0.8875 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7647, allocations: 0 / 0.8875 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.7647, allocations: 3.938 kB / 0.8875 GB, free: 6.477 MB / 0.6544 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.001882/0.7666, allocations: 1.193 MB / 0.8887 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.7666, allocations: 12.56 kB / 0.8887 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.7678, allocations: 219.2 kB / 0.8889 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.769, allocations: 0.6115 MB / 0.8895 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.7691, allocations: 58 kB / 0.8895 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.7692, allocations: 79.94 kB / 0.8896 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7707, allocations: 1.058 MB / 0.8906 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.7707, allocations: 7.875 kB / 0.8907 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.7708, allocations: 32 kB / 0.8907 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.7708, allocations: 29.31 kB / 0.8907 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.7719, allocations: 0.6138 MB / 0.8913 GB, free: 2.398 MB / 0.6544 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.004337/0.7762, allocations: 3.578 MB / 0.8948 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.7769, allocations: 440.2 kB / 0.8952 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.7773, allocations: 226.5 kB / 0.8954 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.7774, allocations: 19.98 kB / 0.8955 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.7775, allocations: 42.56 kB / 0.8955 GB, free: 13.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.7775, allocations: 0 / 0.8955 GB, free: 13.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002861/0.7803, allocations: 1.523 MB / 0.897 GB, free: 12.37 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.7804, allocations: 118.7 kB / 0.8971 GB, free: 12.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.7811, allocations: 0.5381 MB / 0.8976 GB, free: 11.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.7811, allocations: 29.7 kB / 0.8977 GB, free: 11.65 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.7815, allocations: 448.2 kB / 0.8981 GB, free: 11.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.7816, allocations: 170.5 kB / 0.8982 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7818, allocations: 122.3 kB / 0.8984 GB, free: 10.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.782, allocations: 370.8 kB / 0.8987 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.7823, allocations: 189.2 kB / 0.8989 GB, free: 10.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.7829, allocations: 0.5539 MB / 0.8994 GB, free: 9.676 MB / 0.67 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.00227/0.7852, allocations: 1.091 MB / 0.9005 GB, free: 8.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7852, allocations: 8 kB / 0.9005 GB, free: 8.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001086/0.7863, allocations: 0.6605 MB / 0.9012 GB, free: 7.824 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.7863, allocations: 11.94 kB / 0.9012 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7863, allocations: 4 kB / 0.9012 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.7863, allocations: 8 kB / 0.9012 GB, free: 7.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.7868, allocations: 131.8 kB / 0.9013 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7868, allocations: 8 kB / 0.9013 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.7873, allocations: 27.94 kB / 0.9013 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.7874, allocations: 32 kB / 0.9014 GB, free: 7.605 MB / 0.67 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.0004334/0.7878, allocations: 281.7 kB / 0.9016 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.788, allocations: 71.52 kB / 0.9017 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.7881, allocations: 78.25 kB / 0.9018 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7881, allocations: 4 kB / 0.9018 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7881, allocations: 4 kB / 0.9018 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007692/0.7889, allocations: 0.6871 MB / 0.9025 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.7912, allocations: 1.439 MB / 0.9039 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7912, allocations: 4 kB / 0.9039 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.7917, allocations: 104.6 kB / 0.904 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.7917, allocations: 4 kB / 0.904 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.7918, allocations: 24.42 kB / 0.904 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.7918, allocations: 8 kB / 0.904 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7918, allocations: 11.94 kB / 0.904 GB, free: 4.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.793, allocations: 0.8773 MB / 0.9049 GB, free: 3.773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.7932, allocations: 115.5 kB / 0.905 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.7933, allocations: 15.94 kB / 0.905 GB, free: 3.645 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.7937, allocations: 20 kB / 0.905 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.7937, allocations: 39.81 kB / 0.905 GB, free: 3.586 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.7938, allocations: 27.92 kB / 0.9051 GB, free: 3.559 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004328/0.7942, allocations: 366.8 kB / 0.9054 GB, free: 3.203 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7942, allocations: 0 / 0.9054 GB, free: 3.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007344/0.795, allocations: 192 kB / 0.9056 GB, free: 3.016 MB / 0.67 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.0004792/0.7954, allocations: 190.6 kB / 0.9058 GB, free: 2.828 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008003/0.7962, allocations: 448.4 kB / 0.9062 GB, free: 2.391 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7962, allocations: 0 / 0.9062 GB, free: 2.391 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.7965, allocations: 208.6 kB / 0.9064 GB, free: 2.188 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.798, allocations: 347.3 kB / 0.9067 GB, free: 1.875 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.8008, allocations: 1.703 MB / 0.9084 GB, free: 84 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.8013, allocations: 436.2 kB / 0.9088 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.8015, allocations: 63.42 kB / 0.9089 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.8015, allocations: 0 / 0.9089 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of Templates: time 0.01891/0.8204, allocations: 11.51 MB / 0.9201 GB, free: 4.176 MB / 0.6856 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.214268759824336] Failed to read output from testmodel.py, exit status != 0: 0.8287539198063314 0.843504803 0.07565838800000001 Calling exit ...