Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001043/0.001043, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001253/0.001253, allocations: 187 kB / 17.34 MB, free: 5.742 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.276/1.276, 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/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.524/0.6745, allocations: 190.3 MB / 0.8462 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.6836, allocations: 5.666 MB / 0.8517 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.6849, allocations: 40.84 kB / 0.8518 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.6865, allocations: 0.5648 MB / 0.8523 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.6904, allocations: 1.605 MB / 0.8539 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.6935, allocations: 1.204 MB / 0.8551 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.6964, allocations: 2.503 MB / 0.8575 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6977, allocations: 0.9977 MB / 0.8585 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.6994, allocations: 1.05 MB / 0.8595 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.7009, allocations: 0.8159 MB / 0.8603 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.701, allocations: 101 kB / 0.8604 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.7037, allocations: 1.524 MB / 0.8619 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.7042, allocations: 490.8 kB / 0.8624 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.7048, allocations: 0.626 MB / 0.863 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.7075, allocations: 2.111 MB / 0.865 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7075, allocations: 4 kB / 0.865 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7075, allocations: 0 / 0.865 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.7075, allocations: 0 / 0.865 GB, free: 4.32 MB / 0.6231 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.00205/0.7096, allocations: 1.48 MB / 0.8665 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7096, allocations: 12.03 kB / 0.8665 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.7115, allocations: 322.3 kB / 0.8668 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.7127, allocations: 0.8116 MB / 0.8676 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.7127, allocations: 73.97 kB / 0.8677 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.7129, allocations: 91.84 kB / 0.8677 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.7145, allocations: 1.067 MB / 0.8688 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.7145, allocations: 3.938 kB / 0.8688 GB, free: 336 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.7146, allocations: 36 kB / 0.8688 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.7146, allocations: 34 kB / 0.8689 GB, free: 268 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.716, allocations: 0.8313 MB / 0.8697 GB, free: 15.42 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.005065/0.7211, allocations: 4.246 MB / 0.8738 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.7217, allocations: 373.4 kB / 0.8742 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.7219, allocations: 216.8 kB / 0.8744 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.7221, allocations: 101.1 kB / 0.8745 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.7222, allocations: 38.56 kB / 0.8745 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/0.7222, allocations: 7.938 kB / 0.8745 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002408/0.7246, allocations: 1.331 MB / 0.8758 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7246, allocations: 59.39 kB / 0.8759 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.726, allocations: 1 MB / 0.8769 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.726, allocations: 37.7 kB / 0.8769 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.7264, allocations: 499.2 kB / 0.8774 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.7265, allocations: 138 kB / 0.8775 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.7267, allocations: 126.1 kB / 0.8776 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7268, allocations: 334 kB / 0.8779 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.7273, allocations: 237.2 kB / 0.8782 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.7278, allocations: 429.5 kB / 0.8786 GB, free: 5.801 MB / 0.6387 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.002291/0.7301, allocations: 1.22 MB / 0.8798 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7301, allocations: 4 kB / 0.8798 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001328/0.7315, allocations: 0.7653 MB / 0.8805 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7315, allocations: 11.94 kB / 0.8805 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7315, allocations: 11.92 kB / 0.8805 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.7316, allocations: 12 kB / 0.8806 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.7321, allocations: 144.1 kB / 0.8807 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.7322, allocations: 11.94 kB / 0.8807 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.733, allocations: 60.81 kB / 0.8808 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.7331, allocations: 24 kB / 0.8808 GB, free: 3.441 MB / 0.6387 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.0004271/0.7335, allocations: 321.5 kB / 0.8811 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.7337, allocations: 98.81 kB / 0.8812 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.7339, allocations: 101 kB / 0.8813 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7339, allocations: 0 / 0.8813 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7339, allocations: 4 kB / 0.8813 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006383/0.7346, allocations: 0.6836 MB / 0.8819 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.737, allocations: 1.574 MB / 0.8835 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.737, allocations: 4 kB / 0.8835 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.7374, allocations: 91.83 kB / 0.8836 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.7374, allocations: 8 kB / 0.8836 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.7374, allocations: 16.44 kB / 0.8836 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.7375, allocations: 9.562 kB / 0.8836 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7375, allocations: 11.94 kB / 0.8836 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7385, allocations: 0.8488 MB / 0.8844 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.7389, allocations: 235.9 kB / 0.8847 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.739, allocations: 15.98 kB / 0.8847 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.7397, allocations: 38.78 kB / 0.8847 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.7398, allocations: 39.84 kB / 0.8848 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.7399, allocations: 23.98 kB / 0.8848 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009776/0.7409, allocations: 0.7077 MB / 0.8855 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7409, allocations: 0 / 0.8855 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008449/0.7417, allocations: 260 kB / 0.8857 GB, free: 14.07 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.0004632/0.7422, allocations: 198.4 kB / 0.8859 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009195/0.7431, allocations: 0.5041 MB / 0.8864 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.7431, allocations: 7.938 kB / 0.8864 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.7434, allocations: 175.7 kB / 0.8866 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.7459, allocations: 0.6308 MB / 0.8872 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.7488, allocations: 1.894 MB / 0.889 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.7495, allocations: 1.099 MB / 0.8901 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.7498, allocations: 75.42 kB / 0.8902 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.7498, allocations: 4 kB / 0.8902 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.02366/0.7735, allocations: 16.65 MB / 0.9065 GB, free: 8.91 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)