Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005742/0.005742, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001272/0.001273, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 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.8277/0.8277, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.89 kB / 0.5856 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 80.92 MB / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5437/0.7038, allocations: 190.3 MB / 0.8505 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008984/0.7128, allocations: 5.68 MB / 0.856 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.7144, allocations: 43.28 kB / 0.8561 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7162, allocations: 0.5657 MB / 0.8566 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.7208, allocations: 1.598 MB / 0.8582 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.7243, allocations: 1.209 MB / 0.8594 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003599/0.7279, allocations: 2.507 MB / 0.8618 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.7297, allocations: 0.9953 MB / 0.8628 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.7324, allocations: 1.025 MB / 0.8638 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.7347, allocations: 0.8176 MB / 0.8646 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.7351, allocations: 100 kB / 0.8647 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.7388, allocations: 1.532 MB / 0.8662 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007537/0.7395, allocations: 486.8 kB / 0.8667 GB, free: 408 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.7408, allocations: 0.6261 MB / 0.8673 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.7451, allocations: 2.122 MB / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7451, allocations: 4 kB / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.063e-06/0.7451, allocations: 0 / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.686e-05/0.7452, allocations: 0 / 0.8693 GB, free: 13.64 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00456/0.7498, allocations: 1.513 MB / 0.8708 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.7498, allocations: 9.109 kB / 0.8708 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.752, allocations: 339 kB / 0.8711 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.7538, allocations: 0.8162 MB / 0.8719 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.7539, allocations: 66 kB / 0.872 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.754, allocations: 87.92 kB / 0.8721 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.7558, allocations: 1.068 MB / 0.8731 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.7559, allocations: 4 kB / 0.8731 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.756, allocations: 40 kB / 0.8732 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.756, allocations: 33.98 kB / 0.8732 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7575, allocations: 0.8275 MB / 0.874 GB, free: 8.707 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.005976/0.7635, allocations: 4.267 MB / 0.8782 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.7641, allocations: 381.4 kB / 0.8785 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.7644, allocations: 208.8 kB / 0.8787 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.7646, allocations: 109 kB / 0.8789 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7646, allocations: 42.56 kB / 0.8789 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 3.026e-06/0.7646, allocations: 0 / 0.8789 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002437/0.7671, allocations: 1.344 MB / 0.8802 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.7671, allocations: 55.41 kB / 0.8803 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.7685, allocations: 1.004 MB / 0.8812 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.7685, allocations: 33.7 kB / 0.8813 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.7689, allocations: 0.5002 MB / 0.8818 GB, free: 384 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.769, allocations: 150.7 kB / 0.8819 GB, free: 232 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.7692, allocations: 126.2 kB / 0.882 GB, free: 96 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7694, allocations: 326 kB / 0.8823 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.7698, allocations: 233.2 kB / 0.8826 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.7704, allocations: 437.5 kB / 0.883 GB, free: 15.03 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7729, allocations: 1.214 MB / 0.8842 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.7729, allocations: 0 / 0.8842 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001354/0.7742, allocations: 0.7713 MB / 0.8849 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7743, allocations: 11.94 kB / 0.8849 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7743, allocations: 12.06 kB / 0.8849 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.7743, allocations: 8 kB / 0.8849 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.7749, allocations: 143.8 kB / 0.8851 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.7749, allocations: 15.94 kB / 0.8851 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.7758, allocations: 51.95 kB / 0.8851 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.7758, allocations: 24 kB / 0.8852 GB, free: 12.68 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004488/0.7763, allocations: 317.5 kB / 0.8855 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.7765, allocations: 111.3 kB / 0.8856 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.7767, allocations: 105 kB / 0.8857 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7767, allocations: 4 kB / 0.8857 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7767, allocations: 4 kB / 0.8857 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000664/0.7773, allocations: 0.6795 MB / 0.8863 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.7796, allocations: 1.579 MB / 0.8879 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7796, allocations: 11.97 kB / 0.8879 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.78, allocations: 87.89 kB / 0.888 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.78, allocations: 4 kB / 0.888 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.7801, allocations: 15.94 kB / 0.888 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.7801, allocations: 7.984 kB / 0.888 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.7801, allocations: 11.94 kB / 0.888 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.7811, allocations: 0.8452 MB / 0.8888 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.7815, allocations: 248.4 kB / 0.8891 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7816, allocations: 16 kB / 0.8891 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.7823, allocations: 37.84 kB / 0.8891 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.7823, allocations: 35.84 kB / 0.8892 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.7824, allocations: 27.98 kB / 0.8892 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009659/0.7833, allocations: 0.7077 MB / 0.8899 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7834, allocations: 0 / 0.8899 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007856/0.7841, allocations: 255.9 kB / 0.8901 GB, free: 7.297 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004672/0.7846, allocations: 206.2 kB / 0.8903 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.7855, allocations: 0.496 MB / 0.8908 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7856, allocations: 0 / 0.8908 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.7858, allocations: 193.4 kB / 0.891 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7884, allocations: 0.6203 MB / 0.8916 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.791, allocations: 1.858 MB / 0.8934 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.7917, allocations: 1.103 MB / 0.8945 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007806/0.7925, allocations: 244.3 kB / 0.8947 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.7927, allocations: 71.44 kB / 0.8948 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.7927, allocations: 3.938 kB / 0.8948 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.03287/0.8255, allocations: 19.97 MB / 0.9143 GB, free: 14.68 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)