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.006178/0.006178, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001464/0.001464, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7775/0.7775, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 64.33 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1951, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6784/0.8735, allocations: 190.6 MB / 0.8458 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009253/0.8828, allocations: 5.711 MB / 0.8514 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.885, allocations: 44.06 kB / 0.8514 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.8868, allocations: 0.6011 MB / 0.852 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.892, allocations: 1.902 MB / 0.8539 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.895, allocations: 1.194 MB / 0.855 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.8985, allocations: 2.953 MB / 0.8579 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.8997, allocations: 0.9614 MB / 0.8588 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.9014, allocations: 1.1 MB / 0.8599 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.903, allocations: 0.916 MB / 0.8608 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.9032, allocations: 106.4 kB / 0.8609 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.9059, allocations: 1.44 MB / 0.8623 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.9064, allocations: 457.9 kB / 0.8628 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.907, allocations: 0.6588 MB / 0.8634 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.9098, allocations: 2.141 MB / 0.8655 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9098, allocations: 0.8438 kB / 0.8655 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9098, allocations: 0 / 0.8655 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.9098, allocations: 0 / 0.8655 GB, free: 2.609 MB / 0.6387 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.00207/0.9119, allocations: 1.519 MB / 0.867 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9119, allocations: 14.25 kB / 0.867 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.9138, allocations: 316.4 kB / 0.8673 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.915, allocations: 0.8614 MB / 0.8681 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.9151, allocations: 64.22 kB / 0.8682 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.9152, allocations: 84.03 kB / 0.8683 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.9165, allocations: 0.9049 MB / 0.8692 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.9166, allocations: 0 / 0.8692 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.9167, allocations: 44.86 kB / 0.8692 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.9167, allocations: 31.78 kB / 0.8692 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.918, allocations: 0.8311 MB / 0.87 GB, free: 1.359 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.004615/0.9226, allocations: 3.491 MB / 0.8735 GB, free: 56 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.9233, allocations: 0.4949 MB / 0.8739 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.9237, allocations: 300.2 kB / 0.8742 GB, free: 16 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.9239, allocations: 97.78 kB / 0.8743 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9239, allocations: 43.41 kB / 0.8744 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.9239, allocations: 2.656 kB / 0.8744 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003865/0.9278, allocations: 1.918 MB / 0.8762 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.9279, allocations: 57.66 kB / 0.8763 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.9288, allocations: 0.8103 MB / 0.8771 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.9288, allocations: 38.2 kB / 0.8771 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.9292, allocations: 475.7 kB / 0.8776 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.9294, allocations: 177.4 kB / 0.8777 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.9296, allocations: 113.2 kB / 0.8778 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9297, allocations: 329.1 kB / 0.8782 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.9301, allocations: 244 kB / 0.8784 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.9307, allocations: 366.5 kB / 0.8787 GB, free: 14.11 MB / 0.6544 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.003581/0.9342, allocations: 1.523 MB / 0.8802 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9343, allocations: 4.875 kB / 0.8802 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001427/0.9357, allocations: 0.7832 MB / 0.881 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9357, allocations: 6.406 kB / 0.881 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9357, allocations: 3 kB / 0.881 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.936, allocations: 96.69 kB / 0.8811 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.9367, allocations: 144.2 kB / 0.8812 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.9397, allocations: 3.303 MB / 0.8845 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.9407, allocations: 23.92 kB / 0.8845 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.9408, allocations: 21.81 kB / 0.8845 GB, free: 10.13 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.0005614/0.9413, allocations: 311.1 kB / 0.8848 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.9415, allocations: 94.97 kB / 0.8849 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.9417, allocations: 98.19 kB / 0.885 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.9417, allocations: 6.516 kB / 0.885 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.9417, allocations: 0.7812 kB / 0.885 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.9428, allocations: 0.8432 MB / 0.8858 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.9457, allocations: 1.791 MB / 0.8876 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9457, allocations: 8.438 kB / 0.8876 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.9463, allocations: 131 kB / 0.8877 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.9466, allocations: 70.97 kB / 0.8878 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.9466, allocations: 16.92 kB / 0.8878 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.9483, allocations: 1.777 MB / 0.8895 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9483, allocations: 9.344 kB / 0.8895 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.9499, allocations: 1.09 MB / 0.8906 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.9503, allocations: 238.2 kB / 0.8908 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.9504, allocations: 15.06 kB / 0.8908 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.9511, allocations: 40.44 kB / 0.8909 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.9512, allocations: 40.02 kB / 0.8909 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.9513, allocations: 27.72 kB / 0.8909 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007402/0.952, allocations: 0.5659 MB / 0.8915 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.952, allocations: 0 / 0.8915 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009345/0.953, allocations: 283.3 kB / 0.8918 GB, free: 5.688 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.0004803/0.9534, allocations: 192 kB / 0.8919 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.9549, allocations: 0.8036 MB / 0.8927 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9549, allocations: 2.438 kB / 0.8927 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005878/0.9555, allocations: 419.1 kB / 0.8931 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.9581, allocations: 0.6061 MB / 0.8937 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.9608, allocations: 1.805 MB / 0.8955 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.9615, allocations: 1.085 MB / 0.8965 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007983/0.9623, allocations: 209.2 kB / 0.8967 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.9625, allocations: 67.14 kB / 0.8968 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/0.9625, allocations: 0 / 0.8968 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of Templates: time 0.03173/0.9942, allocations: 20.82 MB / 0.9171 GB, free: 2.078 MB / 0.67 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)