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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_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.001216/0.001217, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00115/0.00115, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6975/0.6975, allocations: 132.2 MB / 422.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.78 kB / 0.5014 GB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3187, allocations: 80.19 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1765/0.4953, allocations: 188.1 MB / 0.7634 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007872/0.5033, allocations: 5.686 MB / 0.7689 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.5043, allocations: 35.75 kB / 0.7689 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.5057, allocations: 0.5169 MB / 0.7694 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.5093, allocations: 1.726 MB / 0.7711 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.5117, allocations: 1.089 MB / 0.7722 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.5144, allocations: 2.936 MB / 0.7751 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009655/0.5154, allocations: 0.942 MB / 0.776 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.5166, allocations: 1.066 MB / 0.777 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.518, allocations: 0.9681 MB / 0.778 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5182, allocations: 108 kB / 0.7781 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.5202, allocations: 1.504 MB / 0.7795 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.5206, allocations: 458.8 kB / 0.78 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.5212, allocations: 0.6611 MB / 0.7806 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.5232, allocations: 2.224 MB / 0.7828 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5232, allocations: 4 kB / 0.7828 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5232, allocations: 0 / 0.7828 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5232, allocations: 0 / 0.7828 GB, free: 0.9766 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002115/0.5253, allocations: 1.517 MB / 0.7843 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5254, allocations: 8.031 kB / 0.7843 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.5255, allocations: 139.2 kB / 0.7844 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.5274, allocations: 322.2 kB / 0.7847 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.5286, allocations: 0.8085 MB / 0.7855 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.5286, allocations: 69.94 kB / 0.7856 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5287, allocations: 87.91 kB / 0.7857 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.5302, allocations: 0.9092 MB / 0.7866 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5302, allocations: 4 kB / 0.7866 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.5303, allocations: 43.98 kB / 0.7866 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.5304, allocations: 33.98 kB / 0.7866 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.5317, allocations: 0.8236 MB / 0.7874 GB, free: 12.11 MB / 0.6231 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.004623/0.5363, allocations: 3.521 MB / 0.7909 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.537, allocations: 0.4926 MB / 0.7914 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.5374, allocations: 294.8 kB / 0.7916 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.5376, allocations: 101.5 kB / 0.7917 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5377, allocations: 50.98 kB / 0.7918 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.5377, allocations: 0 / 0.7918 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003563/0.5412, allocations: 1.915 MB / 0.7937 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.5413, allocations: 59.78 kB / 0.7937 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.5421, allocations: 0.8057 MB / 0.7945 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.5422, allocations: 37.7 kB / 0.7945 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.5425, allocations: 471.4 kB / 0.795 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.5426, allocations: 177.5 kB / 0.7952 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.5428, allocations: 118.2 kB / 0.7953 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.5429, allocations: 326 kB / 0.7956 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.5433, allocations: 241.2 kB / 0.7958 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.5438, allocations: 367 kB / 0.7962 GB, free: 2.734 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.003477/0.5473, allocations: 1.527 MB / 0.7976 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5473, allocations: 4 kB / 0.7976 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0012/0.5485, allocations: 0.781 MB / 0.7984 GB, free: 372 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5485, allocations: 4 kB / 0.7984 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5485, allocations: 4 kB / 0.7984 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.5488, allocations: 93.64 kB / 0.7985 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.5494, allocations: 147.8 kB / 0.7987 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.5521, allocations: 3.316 MB / 0.8019 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.5529, allocations: 59.88 kB / 0.8019 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.5529, allocations: 20 kB / 0.802 GB, free: 12.44 MB / 0.6387 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.0003521/0.5533, allocations: 305.6 kB / 0.8023 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5534, allocations: 86.97 kB / 0.8023 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.5536, allocations: 100.7 kB / 0.8024 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5536, allocations: 11.94 kB / 0.8024 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5536, allocations: 0 / 0.8024 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009429/0.5546, allocations: 0.8465 MB / 0.8033 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.5571, allocations: 1.794 MB / 0.805 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5571, allocations: 4 kB / 0.805 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.5577, allocations: 124.3 kB / 0.8051 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.5579, allocations: 72.8 kB / 0.8052 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.558, allocations: 12 kB / 0.8052 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.5594, allocations: 1.793 MB / 0.807 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5595, allocations: 7.938 kB / 0.807 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5609, allocations: 1.096 MB / 0.8081 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.5612, allocations: 236 kB / 0.8083 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5613, allocations: 11.98 kB / 0.8083 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.5621, allocations: 61.42 kB / 0.8084 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.5622, allocations: 47.83 kB / 0.8084 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.5623, allocations: 27.98 kB / 0.8084 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006016/0.5629, allocations: 0.5615 MB / 0.809 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5629, allocations: 0 / 0.809 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007551/0.5636, allocations: 284 kB / 0.8092 GB, free: 4.562 MB / 0.6387 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.001955/0.5656, allocations: 1.728 MB / 0.8109 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.5669, allocations: 0.8712 MB / 0.8118 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5669, allocations: 4 kB / 0.8118 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.5674, allocations: 407.5 kB / 0.8122 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.5699, allocations: 0.6078 MB / 0.8128 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.7809, allocations: 7.584 MB / 0.8202 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.7815, allocations: 1.086 MB / 0.8212 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008979/0.7824, allocations: 212.4 kB / 0.8214 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.7828, allocations: 350.7 kB / 0.8218 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.12e-07/0.7828, allocations: 6.25 kB / 0.8218 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.513/2.296, allocations: 27.6 MB / 0.8487 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.296, allocations: 278.1 kB / 0.849 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/4.627, allocations: 7.938 kB / 0.849 GB, free: 201.6 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)