Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005723/0.005723, allocations: 101 kB / 15.73 MB, free: 6.055 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.0012/0.0012, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.38/1.38, 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/package.mo): time 0.7958/0.7958, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 68.52 kB / 0.5814 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1814, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6786/0.8601, allocations: 190.6 MB / 0.8458 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.8706, allocations: 5.716 MB / 0.8514 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.8723, allocations: 41.03 kB / 0.8514 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.874, allocations: 0.5995 MB / 0.852 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.8787, allocations: 1.904 MB / 0.8539 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.8818, allocations: 1.191 MB / 0.855 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003831/0.8856, allocations: 2.943 MB / 0.8579 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.8869, allocations: 0.9596 MB / 0.8588 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.8889, allocations: 1.103 MB / 0.8599 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.8909, allocations: 0.913 MB / 0.8608 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.8911, allocations: 114.3 kB / 0.8609 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.8943, allocations: 1.434 MB / 0.8623 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004889/0.8948, allocations: 454.8 kB / 0.8628 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007652/0.8956, allocations: 0.6572 MB / 0.8634 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.8988, allocations: 2.142 MB / 0.8655 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8988, allocations: 0 / 0.8655 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8988, allocations: 4 kB / 0.8655 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.8988, allocations: 0 / 0.8655 GB, free: 3.148 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002351/0.9012, allocations: 1.515 MB / 0.867 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.9012, allocations: 8.031 kB / 0.867 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.9032, allocations: 314.3 kB / 0.8673 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.9045, allocations: 0.8591 MB / 0.8681 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.9045, allocations: 65.98 kB / 0.8682 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.9047, allocations: 91.94 kB / 0.8683 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.9062, allocations: 0.9053 MB / 0.8692 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.9062, allocations: 3.938 kB / 0.8692 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.9063, allocations: 40 kB / 0.8692 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.9064, allocations: 30 kB / 0.8692 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.9077, allocations: 0.8198 MB / 0.87 GB, free: 14.4 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.005068/0.9128, allocations: 3.501 MB / 0.8734 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.9136, allocations: 0.4958 MB / 0.8739 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.914, allocations: 305 kB / 0.8742 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.9142, allocations: 101.5 kB / 0.8743 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.9143, allocations: 47 kB / 0.8744 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.9143, allocations: 3.938 kB / 0.8744 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003799/0.9181, allocations: 1.919 MB / 0.8762 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.9181, allocations: 63.84 kB / 0.8763 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.9191, allocations: 0.798 MB / 0.8771 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.9191, allocations: 41.7 kB / 0.8771 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.9195, allocations: 471.4 kB / 0.8776 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.9197, allocations: 177.5 kB / 0.8777 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.9199, allocations: 114.2 kB / 0.8778 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.92, allocations: 329.9 kB / 0.8782 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.9204, allocations: 238 kB / 0.8784 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.921, allocations: 374.9 kB / 0.8787 GB, free: 5.023 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.003537/0.9245, allocations: 1.519 MB / 0.8802 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9245, allocations: 0 / 0.8802 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001243/0.9258, allocations: 0.7887 MB / 0.881 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.9258, allocations: 8 kB / 0.881 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9258, allocations: 5.25 kB / 0.881 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.9261, allocations: 94.77 kB / 0.8811 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.9268, allocations: 143.8 kB / 0.8812 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.9297, allocations: 3.306 MB / 0.8845 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.9305, allocations: 25.7 kB / 0.8845 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.9305, allocations: 24 kB / 0.8845 GB, free: 14.76 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004781/0.931, allocations: 302.1 kB / 0.8848 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.9311, allocations: 94.88 kB / 0.8849 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.9313, allocations: 100.7 kB / 0.885 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9313, allocations: 11.94 kB / 0.885 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9313, allocations: 3.938 kB / 0.885 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.9324, allocations: 0.8349 MB / 0.8858 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.935, allocations: 1.788 MB / 0.8876 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.935, allocations: 4 kB / 0.8876 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.9356, allocations: 132 kB / 0.8877 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.9358, allocations: 73.12 kB / 0.8878 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.9359, allocations: 15.98 kB / 0.8878 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.9374, allocations: 1.785 MB / 0.8895 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.9375, allocations: 4 kB / 0.8895 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.939, allocations: 1.1 MB / 0.8906 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.9394, allocations: 232 kB / 0.8908 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.9395, allocations: 12 kB / 0.8908 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.9401, allocations: 36.48 kB / 0.8909 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9402, allocations: 55.83 kB / 0.8909 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.9403, allocations: 31.98 kB / 0.891 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006885/0.941, allocations: 0.5537 MB / 0.8915 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.941, allocations: 0 / 0.8915 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008609/0.9419, allocations: 288 kB / 0.8918 GB, free: 6.922 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004813/0.9424, allocations: 191.4 kB / 0.8919 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.9436, allocations: 0.8042 MB / 0.8927 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.9437, allocations: 4 kB / 0.8927 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.9442, allocations: 415.5 kB / 0.8931 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.9465, allocations: 0.6076 MB / 0.8937 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.9493, allocations: 1.794 MB / 0.8955 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.95, allocations: 1.087 MB / 0.8965 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.9507, allocations: 215.7 kB / 0.8967 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.9509, allocations: 71.42 kB / 0.8968 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.9509, allocations: 0 / 0.8968 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.03516/0.9861, allocations: 20.8 MB / 0.9171 GB, free: 13.09 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)