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.001429/0.001429, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.001371, allocations: 191.4 kB / 16.25 MB, free: 6.648 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9719/0.9719, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.34 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1745, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5408/0.7154, allocations: 188 MB / 0.7674 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008859/0.7243, allocations: 5.669 MB / 0.773 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.7256, allocations: 35.75 kB / 0.773 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.7272, allocations: 0.5053 MB / 0.7735 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.7313, allocations: 1.506 MB / 0.775 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.7344, allocations: 1.094 MB / 0.776 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.7378, allocations: 2.551 MB / 0.7785 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.7393, allocations: 1.014 MB / 0.7795 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.7413, allocations: 1.043 MB / 0.7805 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.743, allocations: 0.9158 MB / 0.7814 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.7432, allocations: 108 kB / 0.7815 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.7462, allocations: 1.621 MB / 0.7831 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005514/0.7468, allocations: 0.5065 MB / 0.7836 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007883/0.7475, allocations: 0.6417 MB / 0.7842 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.7508, allocations: 2.248 MB / 0.7864 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7508, allocations: 0 / 0.7864 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7509, allocations: 0 / 0.7864 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.7509, allocations: 4 kB / 0.7864 GB, free: 13.85 MB / 0.6075 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.002376/0.7533, allocations: 1.527 MB / 0.7879 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7533, allocations: 8.031 kB / 0.7879 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.7564, allocations: 470.1 kB / 0.7884 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.7579, allocations: 0.8201 MB / 0.7892 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.7583, allocations: 121.9 kB / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7584, allocations: 91.94 kB / 0.7894 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.7607, allocations: 1.179 MB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.7607, allocations: 0 / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.7608, allocations: 44 kB / 0.7906 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.7609, allocations: 34 kB / 0.7906 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.7633, allocations: 1.07 MB / 0.7917 GB, free: 8.387 MB / 0.6075 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.007104/0.7704, allocations: 4.336 MB / 0.7959 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7723, allocations: 0.7647 MB / 0.7967 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/0.7733, allocations: 407.2 kB / 0.797 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.7735, allocations: 101.1 kB / 0.7971 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7735, allocations: 46.56 kB / 0.7972 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 4.458e-06/0.7735, allocations: 0 / 0.7972 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.006011/0.7795, allocations: 2.197 MB / 0.7993 GB, free: 204 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.7796, allocations: 59.34 kB / 0.7994 GB, free: 132 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7806, allocations: 0.8763 MB / 0.8002 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.7807, allocations: 37.64 kB / 0.8003 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.781, allocations: 495.2 kB / 0.8007 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.7812, allocations: 161.7 kB / 0.8009 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.7814, allocations: 126.2 kB / 0.801 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7815, allocations: 330 kB / 0.8013 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/0.7825, allocations: 377 kB / 0.8017 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.7836, allocations: 0.5147 MB / 0.8022 GB, free: 13.16 MB / 0.6231 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.005932/0.7895, allocations: 2.278 MB / 0.8044 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7895, allocations: 5.062 kB / 0.8044 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002266/0.7918, allocations: 0.9937 MB / 0.8054 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.7918, allocations: 11.98 kB / 0.8054 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7919, allocations: 4.125 kB / 0.8054 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7919, allocations: 12 kB / 0.8054 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/0.7928, allocations: 191.7 kB / 0.8056 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7929, allocations: 11.92 kB / 0.8056 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.794, allocations: 99.75 kB / 0.8057 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.794, allocations: 24.78 kB / 0.8057 GB, free: 9.465 MB / 0.6231 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004637/0.7945, allocations: 315.4 kB / 0.806 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7947, allocations: 95.75 kB / 0.8061 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.7949, allocations: 100.8 kB / 0.8062 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7949, allocations: 11.94 kB / 0.8062 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7949, allocations: 4 kB / 0.8062 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001929/0.7968, allocations: 1.039 MB / 0.8073 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.8013, allocations: 2.157 MB / 0.8094 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.8013, allocations: 4 kB / 0.8094 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.8022, allocations: 172 kB / 0.8095 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.8023, allocations: 4 kB / 0.8095 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.8023, allocations: 16 kB / 0.8095 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.8023, allocations: 8 kB / 0.8096 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8023, allocations: 11.88 kB / 0.8096 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.8055, allocations: 1.448 MB / 0.811 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.806, allocations: 248 kB / 0.8112 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.8061, allocations: 12 kB / 0.8112 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009703/0.8071, allocations: 101.3 kB / 0.8113 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.8072, allocations: 51.77 kB / 0.8114 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.8073, allocations: 31.97 kB / 0.8114 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007024/0.808, allocations: 0.6005 MB / 0.812 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.808, allocations: 0 / 0.812 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008098/0.8088, allocations: 268 kB / 0.8122 GB, free: 2.535 MB / 0.6231 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 (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.0004507/0.8092, allocations: 213.6 kB / 0.8125 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.8114, allocations: 0.8854 MB / 0.8133 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8114, allocations: 0 / 0.8133 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.8123, allocations: 401.1 kB / 0.8137 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.8149, allocations: 0.5816 MB / 0.8143 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.8207, allocations: 2.53 MB / 0.8167 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.8216, allocations: 1.109 MB / 0.8178 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001301/0.8229, allocations: 255.8 kB / 0.8181 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8232, allocations: 79.41 kB / 0.8181 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.8233, allocations: 3.938 kB / 0.8181 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.03526/0.8585, allocations: 20.86 MB / 0.8385 GB, free: 7.879 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (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)