Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008458/0.000846, allocations: 100.1 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.000943/0.0009431, 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.181/1.181, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8363/0.8363, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002797, allocations: 12 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.3933/0.5383, allocations: 158.2 MB / 0.7417 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008881/0.5473, allocations: 5.618 MB / 0.7472 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.5485, allocations: 35.75 kB / 0.7472 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.5501, allocations: 0.5582 MB / 0.7478 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.5545, allocations: 1.653 MB / 0.7494 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.5577, allocations: 1.187 MB / 0.7505 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.5601, allocations: 1.501 MB / 0.752 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009275/0.561, allocations: 0.7521 MB / 0.7527 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.5622, allocations: 0.7592 MB / 0.7535 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.5629, allocations: 0.537 MB / 0.754 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.933e-05/0.563, allocations: 44 kB / 0.7541 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.5649, allocations: 0.9009 MB / 0.7549 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.5653, allocations: 399 kB / 0.7553 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.5655, allocations: 253.1 kB / 0.7556 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.5671, allocations: 1.49 MB / 0.757 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5671, allocations: 0 / 0.757 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5671, allocations: 4 kB / 0.757 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.5671, allocations: 3.938 kB / 0.757 GB, free: 14.61 MB / 0.5762 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.00198/0.5691, allocations: 1.293 MB / 0.7583 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.5691, allocations: 12.03 kB / 0.7583 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/0.5718, allocations: 494.1 kB / 0.7588 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5732, allocations: 0.8011 MB / 0.7595 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5736, allocations: 129.9 kB / 0.7597 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5737, allocations: 88 kB / 0.7598 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5757, allocations: 1.183 MB / 0.7609 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5757, allocations: 4 kB / 0.7609 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.5758, allocations: 39.98 kB / 0.7609 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.5759, allocations: 37.98 kB / 0.761 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.578, allocations: 1.101 MB / 0.7621 GB, free: 9.332 MB / 0.5762 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.006436/0.5845, allocations: 4.356 MB / 0.7663 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.5863, allocations: 0.799 MB / 0.7671 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.5864, allocations: 7.984 kB / 0.7671 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.5864, allocations: 43.75 kB / 0.7671 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.5864, allocations: 8 kB / 0.7672 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.005448/0.5919, allocations: 2.284 MB / 0.7694 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5919, allocations: 59.34 kB / 0.7694 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.5929, allocations: 0.8569 MB / 0.7703 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.5929, allocations: 37.7 kB / 0.7703 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.5933, allocations: 499.3 kB / 0.7708 GB, free: 36 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.5934, allocations: 165.6 kB / 0.7709 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.5934, allocations: 12 kB / 0.771 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5936, allocations: 330 kB / 0.7713 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/0.5945, allocations: 385 kB / 0.7716 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/0.5954, allocations: 0.5226 MB / 0.7721 GB, free: 14.57 MB / 0.5919 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.00403/0.5995, allocations: 1.553 MB / 0.7737 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5995, allocations: 4 kB / 0.7737 GB, free: 13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002171/0.6017, allocations: 1.029 MB / 0.7747 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6017, allocations: 4 kB / 0.7747 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6017, allocations: 4 kB / 0.7747 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6017, allocations: 8 kB / 0.7747 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.6026, allocations: 207.8 kB / 0.7749 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.6027, allocations: 19.92 kB / 0.7749 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6037, allocations: 103.8 kB / 0.775 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.6038, allocations: 28.8 kB / 0.775 GB, free: 11.6 MB / 0.5919 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.000463/0.6043, allocations: 313.5 kB / 0.7753 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6044, allocations: 98.83 kB / 0.7754 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.6046, allocations: 108.7 kB / 0.7755 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6046, allocations: 4 kB / 0.7755 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6046, allocations: 4 kB / 0.7755 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.6065, allocations: 1.065 MB / 0.7766 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.6109, allocations: 2.201 MB / 0.7787 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.6109, allocations: 7.984 kB / 0.7787 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.6118, allocations: 184.2 kB / 0.7789 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.6118, allocations: 8 kB / 0.7789 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.6119, allocations: 23.92 kB / 0.7789 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6119, allocations: 7.953 kB / 0.7789 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6119, allocations: 5.5 kB / 0.779 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.6149, allocations: 1.646 MB / 0.7806 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.6154, allocations: 256 kB / 0.7808 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6156, allocations: 19.95 kB / 0.7808 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.6165, allocations: 117.7 kB / 0.7809 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.6166, allocations: 31.91 kB / 0.781 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.6167, allocations: 35.91 kB / 0.781 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007001/0.6174, allocations: 0.5966 MB / 0.7816 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6174, allocations: 4 kB / 0.7816 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007938/0.6182, allocations: 272 kB / 0.7818 GB, free: 4.281 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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.0004235/0.6186, allocations: 219.6 kB / 0.7821 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.6206, allocations: 0.8358 MB / 0.7829 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6206, allocations: 8.188 kB / 0.7829 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.6215, allocations: 416.3 kB / 0.7833 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.6237, allocations: 0.5425 MB / 0.7838 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.6282, allocations: 2.55 MB / 0.7863 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.6288, allocations: 1.13 MB / 0.7874 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009098/0.6297, allocations: 253.6 kB / 0.7876 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.63, allocations: 87.36 kB / 0.7877 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.63, allocations: 0 / 0.7877 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of Templates: time 0.02767/0.6577, allocations: 19.52 MB / 0.8068 GB, free: 10.97 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: