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.006073/0.006073, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001287/0.001287, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9519/0.9519, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.91 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4142, allocations: 80.91 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2565/0.6707, allocations: 187.3 MB / 0.8475 GB, free: 5.703 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.69, allocations: 13.07 MB / 0.8603 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.6916, allocations: 35.81 kB / 0.8603 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.6935, allocations: 421.2 kB / 0.8607 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.697, allocations: 1.159 MB / 0.8619 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.6992, allocations: 0.7059 MB / 0.8626 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003101/0.7023, allocations: 2.012 MB / 0.8645 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.7039, allocations: 0.8512 MB / 0.8654 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.7082, allocations: 1.802 MB / 0.8671 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.71, allocations: 0.6624 MB / 0.8678 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.7103, allocations: 80 kB / 0.8678 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4629/1.173, allocations: 0.8673 MB / 0.8687 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009139/1.174, allocations: 376.7 kB / 0.869 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009596/1.175, allocations: 0.4986 MB / 0.8695 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/1.178, allocations: 1.511 MB / 0.871 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.178, allocations: 0.9062 kB / 0.871 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.773e-06/1.178, allocations: 0.9375 kB / 0.871 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.939e-05/1.178, allocations: 0.875 kB / 0.871 GB, free: 5.254 MB / 0.6856 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.00202/1.181, allocations: 1.257 MB / 0.8722 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.181, allocations: 13.44 kB / 0.8722 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.182, allocations: 222.4 kB / 0.8725 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/1.183, allocations: 0.6828 MB / 0.8731 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/1.183, allocations: 57.59 kB / 0.8732 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.183, allocations: 75.06 kB / 0.8733 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.185, allocations: 0.9313 MB / 0.8742 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/1.185, allocations: 6.938 kB / 0.8742 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/1.185, allocations: 34.33 kB / 0.8742 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.556e-05/1.185, allocations: 28.34 kB / 0.8742 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.186, allocations: 0.6148 MB / 0.8748 GB, free: 3.914 MB / 0.6856 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.005199/1.192, allocations: 4.582 MB / 0.8793 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/1.193, allocations: 0.5378 MB / 0.8798 GB, free: 16.6 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/1.193, allocations: 247.2 kB / 0.8801 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/1.193, allocations: 104.8 kB / 0.8802 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.193, allocations: 41 kB / 0.8802 GB, free: 16.44 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/1.193, allocations: 3.75 kB / 0.8802 GB, free: 16.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.00333/1.196, allocations: 1.61 MB / 0.8818 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/1.197, allocations: 115.1 kB / 0.8819 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.198, allocations: 0.7159 MB / 0.8826 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/1.198, allocations: 37.36 kB / 0.8826 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/1.198, allocations: 420.6 kB / 0.883 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/1.199, allocations: 172.3 kB / 0.8832 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/1.199, allocations: 122.6 kB / 0.8833 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.199, allocations: 326.2 kB / 0.8836 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/1.199, allocations: 186.7 kB / 0.8838 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/1.2, allocations: 416.8 kB / 0.8842 GB, free: 14.64 MB / 0.7012 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.002288/1.202, allocations: 1.169 MB / 0.8853 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.202, allocations: 1.688 kB / 0.8853 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001139/1.203, allocations: 0.6712 MB / 0.886 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.203, allocations: 9.078 kB / 0.886 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.203, allocations: 6.969 kB / 0.886 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/1.203, allocations: 9.906 kB / 0.886 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/1.204, allocations: 134.4 kB / 0.8861 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.204, allocations: 12 kB / 0.8862 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/1.205, allocations: 29.45 kB / 0.8862 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/1.205, allocations: 28.39 kB / 0.8862 GB, free: 14.23 MB / 0.7012 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.0003999/1.205, allocations: 276.4 kB / 0.8865 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.205, allocations: 86.39 kB / 0.8866 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.205, allocations: 88.23 kB / 0.8866 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/1.205, allocations: 9.125 kB / 0.8867 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.205, allocations: 3.516 kB / 0.8867 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007455/1.206, allocations: 0.7083 MB / 0.8873 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/1.209, allocations: 1.637 MB / 0.8889 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.209, allocations: 4.156 kB / 0.8889 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/1.209, allocations: 100.9 kB / 0.889 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/1.209, allocations: 8.875 kB / 0.8891 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/1.209, allocations: 15.56 kB / 0.8891 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/1.209, allocations: 12.78 kB / 0.8891 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/1.209, allocations: 5.906 kB / 0.8891 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/1.21, allocations: 0.8921 MB / 0.89 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/1.211, allocations: 212.1 kB / 0.8902 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.211, allocations: 14.48 kB / 0.8902 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.211, allocations: 23.73 kB / 0.8902 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/1.211, allocations: 40.84 kB / 0.8902 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/1.211, allocations: 18.61 kB / 0.8903 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000722/1.212, allocations: 0.5158 MB / 0.8908 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 1.969 kB / 0.8908 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009766/1.213, allocations: 204.6 kB / 0.891 GB, free: 12.45 MB / 0.7012 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.0005015/1.213, allocations: 191.1 kB / 0.8911 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009095/1.214, allocations: 490.1 kB / 0.8916 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.214, allocations: 1 kB / 0.8916 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/1.215, allocations: 209.3 kB / 0.8918 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.217, allocations: 482.3 kB / 0.8923 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/1.219, allocations: 1.68 MB / 0.8939 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.22, allocations: 1.024 MB / 0.8949 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007419/1.221, allocations: 196.2 kB / 0.8951 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.221, allocations: 68.3 kB / 0.8952 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/1.221, allocations: 0 / 0.8952 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of Templates: time 0.02752/1.249, allocations: 15.21 MB / 0.91 GB, free: 9.984 MB / 0.7012 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)