Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 100.2 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.001971/0.001971, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.804/2.804, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.592/1.592, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006997/0.0006999, allocations: 8 kB / 0.5069 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3706, allocations: 82.32 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9495/1.32, allocations: 158.3 MB / 0.7419 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.019/1.339, allocations: 5.645 MB / 0.7474 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/1.342, allocations: 35.75 kB / 0.7474 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004311/1.347, allocations: 0.568 MB / 0.748 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.359, allocations: 1.663 MB / 0.7496 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008663/1.368, allocations: 1.188 MB / 0.7508 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007791/1.376, allocations: 1.691 MB / 0.7524 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/1.379, allocations: 0.7234 MB / 0.7531 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004349/1.383, allocations: 0.7747 MB / 0.7539 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/1.386, allocations: 0.572 MB / 0.7544 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005227/1.386, allocations: 44 kB / 0.7545 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/1.391, allocations: 0.6084 MB / 0.7551 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/1.392, allocations: 363 kB / 0.7554 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/1.393, allocations: 257.1 kB / 0.7557 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/1.398, allocations: 1.399 MB / 0.757 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.398, allocations: 0 / 0.757 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.597e-06/1.398, allocations: 3.984 kB / 0.757 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.876e-05/1.398, allocations: 0 / 0.757 GB, free: 14.65 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.005509/1.404, allocations: 1.268 MB / 0.7583 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.404, allocations: 12.03 kB / 0.7583 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000606/1.404, allocations: 143.2 kB / 0.7584 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/1.408, allocations: 314.2 kB / 0.7587 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/1.412, allocations: 0.7933 MB / 0.7595 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.413, allocations: 66 kB / 0.7595 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/1.413, allocations: 80 kB / 0.7596 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/1.417, allocations: 0.9053 MB / 0.7605 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/1.417, allocations: 4 kB / 0.7605 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/1.418, allocations: 40 kB / 0.7605 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-05/1.418, allocations: 30 kB / 0.7606 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/1.421, allocations: 0.8314 MB / 0.7614 GB, free: 10.07 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.01171/1.432, allocations: 3.525 MB / 0.7648 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/1.434, allocations: 0.5082 MB / 0.7653 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/1.434, allocations: 12.42 kB / 0.7653 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/1.434, allocations: 39 kB / 0.7654 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 5.23e-06/1.434, allocations: 0 / 0.7654 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.008237/1.442, allocations: 1.935 MB / 0.7673 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/1.442, allocations: 59.78 kB / 0.7673 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/1.445, allocations: 0.798 MB / 0.7681 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/1.445, allocations: 41.7 kB / 0.7681 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/1.446, allocations: 479.3 kB / 0.7686 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/1.446, allocations: 173.5 kB / 0.7688 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/1.446, allocations: 15.94 kB / 0.7688 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.447, allocations: 338 kB / 0.7691 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/1.447, allocations: 237.2 kB / 0.7693 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/1.448, allocations: 367 kB / 0.7697 GB, free: 1.156 MB / 0.5762 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.00466/1.453, allocations: 1.005 MB / 0.7707 GB, free: 144 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.453, allocations: 0 / 0.7707 GB, free: 144 kB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002764/1.456, allocations: 0.7962 MB / 0.7714 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/1.456, allocations: 4 kB / 0.7714 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.456, allocations: 4 kB / 0.7714 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/1.457, allocations: 98.03 kB / 0.7715 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.458, allocations: 151.8 kB / 0.7717 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/1.464, allocations: 3.096 MB / 0.7747 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.466, allocations: 67.8 kB / 0.7748 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/1.466, allocations: 20.88 kB / 0.7748 GB, free: 11.63 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001617/1.468, allocations: 301.6 kB / 0.7751 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/1.469, allocations: 90.97 kB / 0.7752 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/1.469, allocations: 100.7 kB / 0.7753 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.469, allocations: 7.938 kB / 0.7753 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.469, allocations: 0 / 0.7753 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/1.472, allocations: 0.8466 MB / 0.7761 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/1.478, allocations: 1.802 MB / 0.7779 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.479, allocations: 9.609 kB / 0.7779 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.48, allocations: 144.2 kB / 0.778 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/1.48, allocations: 72.77 kB / 0.7781 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/1.48, allocations: 12 kB / 0.7781 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/1.484, allocations: 1.678 MB / 0.7797 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/1.484, allocations: 4 kB / 0.7797 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/1.489, allocations: 1.258 MB / 0.781 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.49, allocations: 228 kB / 0.7812 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005008/1.491, allocations: 19.98 kB / 0.7812 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.493, allocations: 71.55 kB / 0.7813 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/1.493, allocations: 55.78 kB / 0.7813 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.493, allocations: 27.98 kB / 0.7813 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001888/1.495, allocations: 0.5497 MB / 0.7819 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.092e-06/1.495, allocations: 0 / 0.7819 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002362/1.498, allocations: 284 kB / 0.7821 GB, free: 3.613 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005841/1.503, allocations: 2.786 MB / 0.7849 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003353/1.507, allocations: 0.806 MB / 0.7857 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.507, allocations: 4 kB / 0.7857 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.508, allocations: 412.4 kB / 0.7861 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/1.514, allocations: 0.5672 MB / 0.7866 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.537, allocations: 7.033 MB / 0.7935 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/1.539, allocations: 1.111 MB / 0.7946 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002122/1.541, allocations: 207.7 kB / 0.7948 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009745/1.542, allocations: 351.3 kB / 0.7951 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of SimCode: time 1.864e-06/1.543, allocations: 3.938 kB / 0.7951 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2036/1.746, allocations: 27.34 MB / 0.8218 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005463/1.747, allocations: 257 kB / 0.822 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.209/6.956, allocations: 3.938 kB / 0.822 GB, free: 10.7 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: