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.001138/0.001138, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001125/0.001125, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7926/0.7926, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.31 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 80.92 MB / 0.6653 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6271/0.784, allocations: 187.3 MB / 0.8482 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.8015, allocations: 13.06 MB / 0.861 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.8031, allocations: 31.78 kB / 0.861 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.8049, allocations: 428 kB / 0.8614 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.8086, allocations: 1.159 MB / 0.8625 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.8109, allocations: 0.7011 MB / 0.8632 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002987/0.8139, allocations: 2.011 MB / 0.8652 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.8154, allocations: 0.8386 MB / 0.866 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004655/0.8201, allocations: 1.829 MB / 0.8678 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.8221, allocations: 0.669 MB / 0.8684 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.8225, allocations: 80 kB / 0.8685 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.8245, allocations: 0.8652 MB / 0.8694 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.8251, allocations: 379 kB / 0.8697 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009918/0.8261, allocations: 0.5015 MB / 0.8702 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.8289, allocations: 1.503 MB / 0.8717 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8289, allocations: 3.938 kB / 0.8717 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8289, allocations: 0 / 0.8717 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.119e-05/0.829, allocations: 0 / 0.8717 GB, free: 11.98 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.002478/0.8315, allocations: 1.243 MB / 0.8729 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.8315, allocations: 9.109 kB / 0.8729 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.8329, allocations: 210.7 kB / 0.8731 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.8343, allocations: 0.6754 MB / 0.8738 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.8344, allocations: 65.98 kB / 0.8738 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.8345, allocations: 76 kB / 0.8739 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.8361, allocations: 0.9288 MB / 0.8748 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.8361, allocations: 11.84 kB / 0.8748 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.8362, allocations: 35.98 kB / 0.8748 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.8363, allocations: 29.31 kB / 0.8749 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.8373, allocations: 0.6177 MB / 0.8755 GB, free: 7.906 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.004796/0.8421, allocations: 4.567 MB / 0.8799 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.8429, allocations: 0.5326 MB / 0.8805 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.8432, allocations: 246.5 kB / 0.8807 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.8434, allocations: 101.1 kB / 0.8808 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.8435, allocations: 51.12 kB / 0.8808 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.8435, allocations: 0 / 0.8808 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.00299/0.8465, allocations: 1.584 MB / 0.8824 GB, free: 408 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.8466, allocations: 107.1 kB / 0.8825 GB, free: 276 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.8475, allocations: 0.7195 MB / 0.8832 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.8476, allocations: 33.7 kB / 0.8832 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.8479, allocations: 411.8 kB / 0.8836 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.848, allocations: 169.6 kB / 0.8838 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.8482, allocations: 110.2 kB / 0.8839 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8483, allocations: 334 kB / 0.8842 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.8486, allocations: 185.2 kB / 0.8844 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.8491, allocations: 421 kB / 0.8848 GB, free: 13.79 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.00221/0.8513, allocations: 1.165 MB / 0.8859 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.8513, allocations: 4 kB / 0.8859 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001078/0.8524, allocations: 0.6713 MB / 0.8866 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.8524, allocations: 15.92 kB / 0.8866 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8525, allocations: 11.94 kB / 0.8866 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.8525, allocations: 8.781 kB / 0.8866 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.853, allocations: 123.8 kB / 0.8867 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.853, allocations: 15.94 kB / 0.8867 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.8537, allocations: 27.89 kB / 0.8868 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.8538, allocations: 32 kB / 0.8868 GB, free: 11.61 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.0004291/0.8542, allocations: 269.6 kB / 0.8871 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8544, allocations: 83 kB / 0.8871 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.8546, allocations: 87.66 kB / 0.8872 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-06/0.8547, allocations: 8 kB / 0.8872 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8547, allocations: 4 kB / 0.8872 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007044/0.8554, allocations: 0.7027 MB / 0.8879 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.858, allocations: 1.635 MB / 0.8895 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.858, allocations: 7.938 kB / 0.8895 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.8585, allocations: 103.9 kB / 0.8896 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.8586, allocations: 8 kB / 0.8896 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.8586, allocations: 13 kB / 0.8896 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.8586, allocations: 7.938 kB / 0.8897 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8586, allocations: 5.562 kB / 0.8897 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.8598, allocations: 0.8887 MB / 0.8905 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.8602, allocations: 212 kB / 0.8907 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.8603, allocations: 19.94 kB / 0.8907 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.8609, allocations: 16.86 kB / 0.8908 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.861, allocations: 35.91 kB / 0.8908 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.861, allocations: 23.98 kB / 0.8908 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007295/0.8618, allocations: 0.5107 MB / 0.8913 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8618, allocations: 0 / 0.8913 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008445/0.8626, allocations: 200 kB / 0.8915 GB, free: 6.516 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.0005428/0.8632, allocations: 205.4 kB / 0.8917 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009187/0.8641, allocations: 488.8 kB / 0.8922 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8641, allocations: 0 / 0.8922 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.8645, allocations: 212.7 kB / 0.8924 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.8669, allocations: 483.5 kB / 0.8928 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.8697, allocations: 1.708 MB / 0.8945 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.8705, allocations: 1.024 MB / 0.8955 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.8707, allocations: 71.42 kB / 0.8956 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.8707, allocations: 0 / 0.8956 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of Templates: time 0.02083/0.8916, allocations: 13.01 MB / 0.9083 GB, free: 5.344 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)