Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001336/0.001337, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9648/0.9648, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1596, allocations: 83.41 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4378/0.5974, allocations: 158.3 MB / 0.7519 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009078/0.6066, allocations: 5.643 MB / 0.7574 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.608, allocations: 31.81 kB / 0.7574 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.6098, allocations: 0.5584 MB / 0.7579 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.6145, allocations: 1.663 MB / 0.7596 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.618, allocations: 1.192 MB / 0.7607 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.6204, allocations: 1.495 MB / 0.7622 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.6215, allocations: 0.7516 MB / 0.7629 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.6228, allocations: 0.7553 MB / 0.7637 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.6236, allocations: 0.537 MB / 0.7642 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.6237, allocations: 44 kB / 0.7642 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.6257, allocations: 0.9087 MB / 0.7651 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.6261, allocations: 403 kB / 0.7655 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.6264, allocations: 257.1 kB / 0.7657 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.6281, allocations: 1.544 MB / 0.7673 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.6281, allocations: 0 / 0.7673 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6281, allocations: 0 / 0.7673 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.6281, allocations: 0 / 0.7673 GB, free: 13.99 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002098/0.6302, allocations: 1.297 MB / 0.7685 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6303, allocations: 8.031 kB / 0.7685 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.6332, allocations: 0.5019 MB / 0.769 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.6348, allocations: 0.791 MB / 0.7698 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.6351, allocations: 138.9 kB / 0.7699 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6353, allocations: 80 kB / 0.77 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.6375, allocations: 1.19 MB / 0.7712 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6375, allocations: 0 / 0.7712 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.6376, allocations: 36 kB / 0.7712 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.6377, allocations: 37.98 kB / 0.7712 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.6401, allocations: 1.105 MB / 0.7723 GB, free: 8.703 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.006959/0.6471, allocations: 4.365 MB / 0.7766 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.6492, allocations: 0.8011 MB / 0.7774 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.6492, allocations: 15.98 kB / 0.7774 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6493, allocations: 43.78 kB / 0.7774 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.6493, allocations: 0 / 0.7774 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.005743/0.655, allocations: 2.293 MB / 0.7797 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6551, allocations: 59.36 kB / 0.7797 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.6561, allocations: 0.8569 MB / 0.7805 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.6561, allocations: 41.7 kB / 0.7806 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.6565, allocations: 491.3 kB / 0.7811 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.6566, allocations: 161.7 kB / 0.7812 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6567, allocations: 16 kB / 0.7812 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6568, allocations: 326 kB / 0.7815 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/0.6577, allocations: 389 kB / 0.7819 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6588, allocations: 0.5247 MB / 0.7824 GB, free: 13.93 MB / 0.6075 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.004316/0.6631, allocations: 1.556 MB / 0.7839 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6631, allocations: 0 / 0.7839 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002239/0.6654, allocations: 1.032 MB / 0.7849 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6654, allocations: 8 kB / 0.785 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6654, allocations: 4 kB / 0.785 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6654, allocations: 4 kB / 0.785 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/0.6664, allocations: 211.8 kB / 0.7852 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.6664, allocations: 16.52 kB / 0.7852 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.6675, allocations: 112.5 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.6676, allocations: 27.98 kB / 0.7853 GB, free: 10.95 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004302/0.668, allocations: 309.5 kB / 0.7856 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6681, allocations: 98.88 kB / 0.7857 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.6684, allocations: 108.7 kB / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6684, allocations: 4 kB / 0.7858 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6684, allocations: 0 / 0.7858 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001986/0.6704, allocations: 1.069 MB / 0.7869 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.6749, allocations: 2.216 MB / 0.789 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.675, allocations: 4 kB / 0.789 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.6758, allocations: 184.1 kB / 0.7892 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6759, allocations: 8 kB / 0.7892 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6759, allocations: 15.98 kB / 0.7892 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.6759, allocations: 7.938 kB / 0.7892 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6759, allocations: 4 kB / 0.7892 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.6791, allocations: 1.626 MB / 0.7908 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6795, allocations: 252 kB / 0.7911 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6797, allocations: 15.12 kB / 0.7911 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6807, allocations: 120.5 kB / 0.7912 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.6808, allocations: 39.84 kB / 0.7912 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.6809, allocations: 31.98 kB / 0.7913 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008046/0.6817, allocations: 0.5927 MB / 0.7918 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6817, allocations: 0 / 0.7918 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009179/0.6826, allocations: 268 kB / 0.7921 GB, free: 3.656 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005388/0.6832, allocations: 206.3 kB / 0.7923 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.6853, allocations: 0.847 MB / 0.7931 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6853, allocations: 4 kB / 0.7931 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009547/0.6863, allocations: 413 kB / 0.7935 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.6887, allocations: 0.5534 MB / 0.7941 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.6935, allocations: 2.577 MB / 0.7966 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.6942, allocations: 1.126 MB / 0.7977 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009833/0.6952, allocations: 259.8 kB / 0.7979 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.6955, allocations: 83.34 kB / 0.798 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.6955, allocations: 3.938 kB / 0.798 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.03048/0.726, allocations: 19.51 MB / 0.8171 GB, free: 10.36 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: