Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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/package.mo", uses=false) 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.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001298/0.001299, allocations: 193 kB / 16.14 MB, free: 6.656 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7736/0.7736, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 56.12 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1829, allocations: 80.21 MB / 0.5794 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5466/0.7296, allocations: 184.9 MB / 0.7599 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.7459, allocations: 13.07 MB / 0.7727 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.7476, allocations: 27.88 kB / 0.7727 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.7491, allocations: 334 kB / 0.7731 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.7519, allocations: 0.8753 MB / 0.7739 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.7539, allocations: 0.6177 MB / 0.7745 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.7567, allocations: 2.091 MB / 0.7766 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008352/0.7575, allocations: 0.5557 MB / 0.7771 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.7617, allocations: 1.584 MB / 0.7786 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.7632, allocations: 0.5439 MB / 0.7792 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.567e-05/0.7633, allocations: 39.94 kB / 0.7792 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.7654, allocations: 0.9704 MB / 0.7802 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.7657, allocations: 259.3 kB / 0.7804 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.7662, allocations: 366 kB / 0.7808 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.7678, allocations: 1.18 MB / 0.7819 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7678, allocations: 4 kB / 0.7819 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7678, allocations: 0 / 0.7819 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7678, allocations: 4 kB / 0.7819 GB, free: 3.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001689/0.7695, allocations: 1.054 MB / 0.7829 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7696, allocations: 8.031 kB / 0.783 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.7705, allocations: 194.8 kB / 0.7831 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.7713, allocations: 0.5208 MB / 0.7836 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.7717, allocations: 101.2 kB / 0.7837 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.7718, allocations: 56 kB / 0.7838 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.773, allocations: 0.7636 MB / 0.7845 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.773, allocations: 7.875 kB / 0.7845 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.7731, allocations: 24 kB / 0.7846 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.7731, allocations: 21 kB / 0.7846 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.7741, allocations: 471.3 kB / 0.785 GB, free: 0.5938 MB / 0.5919 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.003826/0.7779, allocations: 4.171 MB / 0.7891 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.778, allocations: 102.4 kB / 0.7892 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7782, allocations: 79.52 kB / 0.7893 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.7784, allocations: 93.11 kB / 0.7894 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.7784, allocations: 38.55 kB / 0.7894 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.7784, allocations: 0 / 0.7894 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006708/0.7791, allocations: 240.6 kB / 0.7896 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.7792, allocations: 132.5 kB / 0.7898 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.7803, allocations: 0.837 MB / 0.7906 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.7803, allocations: 29.7 kB / 0.7906 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.7807, allocations: 398.9 kB / 0.791 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.7807, allocations: 47.38 kB / 0.791 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7808, allocations: 85.59 kB / 0.7911 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.781, allocations: 318 kB / 0.7914 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.7813, allocations: 107.9 kB / 0.7915 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.7817, allocations: 349.8 kB / 0.7919 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.7823, allocations: 411 kB / 0.7923 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7823, allocations: 4 kB / 0.7923 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008838/0.7832, allocations: 492.6 kB / 0.7927 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7832, allocations: 8 kB / 0.7927 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7832, allocations: 8 kB / 0.7927 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.7833, allocations: 12.47 kB / 0.7928 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.7836, allocations: 87.83 kB / 0.7928 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/0.7836, allocations: 15.92 kB / 0.7929 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.7843, allocations: 131.3 kB / 0.793 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.7843, allocations: 20 kB / 0.793 GB, free: 7.867 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002708/0.7846, allocations: 231.2 kB / 0.7932 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.7847, allocations: 75.06 kB / 0.7933 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.7849, allocations: 70.09 kB / 0.7934 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.7849, allocations: 7.922 kB / 0.7934 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7849, allocations: 4 kB / 0.7934 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7849, allocations: 7.938 kB / 0.7934 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.7862, allocations: 1.12 MB / 0.7945 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7862, allocations: 4 kB / 0.7945 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.7863, allocations: 15.98 kB / 0.7945 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7863, allocations: 4 kB / 0.7945 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.7863, allocations: 4 kB / 0.7945 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.7864, allocations: 7.938 kB / 0.7945 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7864, allocations: 0 / 0.7945 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.7867, allocations: 264.2 kB / 0.7948 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.7869, allocations: 172.1 kB / 0.7949 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.787, allocations: 4 kB / 0.7949 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.7873, allocations: 23.98 kB / 0.7949 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.7873, allocations: 19.86 kB / 0.795 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.7874, allocations: 4 kB / 0.795 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007824/0.7881, allocations: 0.5889 MB / 0.7955 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.313e-06/0.7881, allocations: 3.938 kB / 0.7955 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005592/0.7887, allocations: 155.8 kB / 0.7957 GB, free: 4.934 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0004721/0.7892, allocations: 196.3 kB / 0.7959 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.7897, allocations: 233.3 kB / 0.7961 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7897, allocations: 4.062 kB / 0.7961 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.7898, allocations: 51.86 kB / 0.7962 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.7914, allocations: 357.4 kB / 0.7965 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.793, allocations: 1.249 MB / 0.7977 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.7935, allocations: 0.9372 MB / 0.7986 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004622/0.794, allocations: 136.3 kB / 0.7988 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.7941, allocations: 47.42 kB / 0.7988 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.7941, allocations: 0 / 0.7988 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.02085/0.8149, allocations: 11.27 MB / 0.8098 GB, free: 6.652 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)