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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007402/0.007401, allocations: 105.5 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 193 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7913/0.7913, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.09 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.191, allocations: 80.93 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6442/0.8353, allocations: 187.3 MB / 0.8475 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.8529, allocations: 13.06 MB / 0.8603 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.8547, allocations: 31.94 kB / 0.8603 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.8567, allocations: 436.5 kB / 0.8607 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.8607, allocations: 1.199 MB / 0.8619 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.8632, allocations: 0.7095 MB / 0.8626 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.8665, allocations: 2.019 MB / 0.8646 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.8681, allocations: 0.8333 MB / 0.8654 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.8728, allocations: 1.88 MB / 0.8672 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.8746, allocations: 0.6584 MB / 0.8679 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.875, allocations: 84 kB / 0.868 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.8775, allocations: 0.8731 MB / 0.8688 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.8782, allocations: 387 kB / 0.8692 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.8793, allocations: 0.4976 MB / 0.8697 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.8824, allocations: 1.499 MB / 0.8711 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.8824, allocations: 4 kB / 0.8711 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.456e-06/0.8824, allocations: 0 / 0.8711 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.912e-05/0.8825, allocations: 3.938 kB / 0.8711 GB, free: 11.82 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.002933/0.8854, allocations: 1.235 MB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8855, allocations: 9.109 kB / 0.8723 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.8869, allocations: 210.7 kB / 0.8725 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.8884, allocations: 0.6832 MB / 0.8732 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.8885, allocations: 58 kB / 0.8733 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8886, allocations: 79.98 kB / 0.8733 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.8902, allocations: 0.9249 MB / 0.8743 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.8902, allocations: 15.78 kB / 0.8743 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.8903, allocations: 35.98 kB / 0.8743 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.8903, allocations: 29.31 kB / 0.8743 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.8914, allocations: 0.6143 MB / 0.8749 GB, free: 7.762 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.00506/0.8965, allocations: 4.567 MB / 0.8794 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.8972, allocations: 0.5349 MB / 0.8799 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.8976, allocations: 244.5 kB / 0.8801 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.8978, allocations: 105.1 kB / 0.8802 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.8978, allocations: 52.25 kB / 0.8803 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.8979, allocations: 0 / 0.8803 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.003021/0.9009, allocations: 1.58 MB / 0.8818 GB, free: 260 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.901, allocations: 106.8 kB / 0.8819 GB, free: 128 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.9019, allocations: 0.7196 MB / 0.8826 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.9019, allocations: 37.7 kB / 0.8827 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.9022, allocations: 411.8 kB / 0.8831 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.9024, allocations: 165.6 kB / 0.8832 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.9026, allocations: 114.2 kB / 0.8833 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9027, allocations: 330 kB / 0.8837 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.9031, allocations: 189.2 kB / 0.8838 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.9035, allocations: 417 kB / 0.8842 GB, free: 13.64 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.002223/0.9057, allocations: 1.16 MB / 0.8854 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.9058, allocations: 4 kB / 0.8854 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001052/0.9068, allocations: 0.6792 MB / 0.886 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.9069, allocations: 8 kB / 0.886 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.9069, allocations: 4 kB / 0.886 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.9069, allocations: 15.94 kB / 0.8861 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.9074, allocations: 125.6 kB / 0.8862 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.9074, allocations: 15.94 kB / 0.8862 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.9079, allocations: 31.89 kB / 0.8862 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.908, allocations: 28 kB / 0.8862 GB, free: 11.47 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.0003494/0.9083, allocations: 269.6 kB / 0.8865 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.9085, allocations: 83 kB / 0.8866 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.9086, allocations: 95.66 kB / 0.8867 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9087, allocations: 4 kB / 0.8867 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9087, allocations: 0 / 0.8867 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007069/0.9094, allocations: 0.7035 MB / 0.8874 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.9117, allocations: 1.634 MB / 0.889 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9118, allocations: 8.438 kB / 0.889 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.9122, allocations: 99.89 kB / 0.8891 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.9122, allocations: 8 kB / 0.8891 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.9123, allocations: 19.98 kB / 0.8891 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.9123, allocations: 12 kB / 0.8891 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9123, allocations: 8 kB / 0.8891 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.9134, allocations: 0.8809 MB / 0.89 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.9137, allocations: 212 kB / 0.8902 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.9137, allocations: 16 kB / 0.8902 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.9142, allocations: 16.53 kB / 0.8902 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.9142, allocations: 43.84 kB / 0.8902 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.9143, allocations: 23.98 kB / 0.8903 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005683/0.9149, allocations: 0.5029 MB / 0.8908 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9149, allocations: 0 / 0.8908 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006902/0.9156, allocations: 204 kB / 0.891 GB, free: 6.367 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.0004611/0.916, allocations: 215.6 kB / 0.8912 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.9168, allocations: 480.9 kB / 0.8916 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.9168, allocations: 4.125 kB / 0.8916 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.9171, allocations: 208.7 kB / 0.8918 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.919, allocations: 483 kB / 0.8923 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.9214, allocations: 1.651 MB / 0.8939 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.922, allocations: 1.028 MB / 0.8949 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005684/0.9226, allocations: 199 kB / 0.8951 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.9227, allocations: 63.42 kB / 0.8952 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.9227, allocations: 0 / 0.8952 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of Templates: time 0.02693/0.9497, allocations: 15.22 MB / 0.91 GB, free: 2.961 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (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)