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.0008087/0.0008086, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009018/0.0009018, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.3 MB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004445, allocations: 12.91 kB / 0.5071 GB, free: 5.059 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6337/0.8383, allocations: 173.4 MB / 0.7568 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.849, allocations: 5.4 MB / 0.7621 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.851, allocations: 35.75 kB / 0.7621 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.8526, allocations: 401.5 kB / 0.7625 GB, free: 9.746 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004729/0.8573, allocations: 1.372 MB / 0.7638 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.8604, allocations: 0.8518 MB / 0.7646 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005398/0.8658, allocations: 3.439 MB / 0.768 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.8673, allocations: 0.7083 MB / 0.7687 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.8693, allocations: 0.8868 MB / 0.7696 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.8709, allocations: 0.86 MB / 0.7704 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.8711, allocations: 44 kB / 0.7704 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.8738, allocations: 0.7053 MB / 0.7711 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005119/0.8743, allocations: 390.8 kB / 0.7715 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.8748, allocations: 257.1 kB / 0.7717 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.877, allocations: 1.473 MB / 0.7732 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.877, allocations: 0 / 0.7732 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.266e-06/0.877, allocations: 0 / 0.7732 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.8771, allocations: 0 / 0.7732 GB, free: 14.74 MB / 0.5919 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.002576/0.8796, allocations: 1.315 MB / 0.7745 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.8797, allocations: 8.031 kB / 0.7745 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.8799, allocations: 135.2 kB / 0.7746 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.8818, allocations: 326.2 kB / 0.7749 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.8832, allocations: 0.7817 MB / 0.7757 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.8832, allocations: 66 kB / 0.7757 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.8833, allocations: 84 kB / 0.7758 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.885, allocations: 0.9131 MB / 0.7767 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.885, allocations: 0 / 0.7767 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/0.8851, allocations: 32 kB / 0.7767 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.8852, allocations: 34 kB / 0.7768 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.8866, allocations: 0.843 MB / 0.7776 GB, free: 10.11 MB / 0.5919 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.005378/0.892, allocations: 3.521 MB / 0.781 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.8928, allocations: 0.5034 MB / 0.7815 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.8933, allocations: 298.8 kB / 0.7818 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.8935, allocations: 101.5 kB / 0.7819 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.8935, allocations: 43 kB / 0.782 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.235e-06/0.8936, allocations: 0 / 0.782 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.004219/0.8978, allocations: 1.95 MB / 0.7839 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.8978, allocations: 55.84 kB / 0.7839 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.899, allocations: 0.798 MB / 0.7847 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.8991, allocations: 37.7 kB / 0.7847 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.8996, allocations: 483.3 kB / 0.7852 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.8998, allocations: 169.5 kB / 0.7853 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.8998, allocations: 16 kB / 0.7854 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9, allocations: 330 kB / 0.7857 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.9004, allocations: 245.2 kB / 0.7859 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.901, allocations: 367 kB / 0.7863 GB, free: 0.8008 MB / 0.5919 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.002737/0.9038, allocations: 1.007 MB / 0.7872 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9038, allocations: 0 / 0.7872 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001363/0.9052, allocations: 0.7847 MB / 0.788 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.9052, allocations: 4 kB / 0.788 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9052, allocations: 7.938 kB / 0.788 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.9055, allocations: 109.3 kB / 0.7881 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.9062, allocations: 151.8 kB / 0.7883 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.9091, allocations: 3.044 MB / 0.7912 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.9101, allocations: 59.92 kB / 0.7913 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.9102, allocations: 23.98 kB / 0.7913 GB, free: 11.32 MB / 0.6075 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.0005979/0.9108, allocations: 305.2 kB / 0.7916 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.9111, allocations: 94.97 kB / 0.7917 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.9113, allocations: 104.7 kB / 0.7918 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.9113, allocations: 8.812 kB / 0.7918 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9113, allocations: 0 / 0.7918 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.9125, allocations: 0.8505 MB / 0.7926 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.9158, allocations: 1.809 MB / 0.7944 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9158, allocations: 0 / 0.7944 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.9165, allocations: 136.2 kB / 0.7945 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.9167, allocations: 75.17 kB / 0.7946 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.9168, allocations: 12 kB / 0.7946 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.9185, allocations: 1.645 MB / 0.7962 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9185, allocations: 7.938 kB / 0.7962 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.9202, allocations: 1.107 MB / 0.7973 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.9208, allocations: 236.4 kB / 0.7975 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.921, allocations: 15.98 kB / 0.7976 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.9218, allocations: 76.53 kB / 0.7976 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.9219, allocations: 39.84 kB / 0.7977 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/0.922, allocations: 31.98 kB / 0.7977 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008312/0.9229, allocations: 0.5536 MB / 0.7982 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9229, allocations: 4 kB / 0.7982 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001211/0.9241, allocations: 284 kB / 0.7985 GB, free: 3.551 MB / 0.6075 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.002748/0.9268, allocations: 1.732 MB / 0.8002 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.9285, allocations: 0.806 MB / 0.801 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9285, allocations: 4 kB / 0.801 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.9292, allocations: 412.1 kB / 0.8014 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.9322, allocations: 0.5812 MB / 0.802 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.9428, allocations: 5.436 MB / 0.8073 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.9439, allocations: 1.091 MB / 0.8083 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001149/0.9451, allocations: 213.5 kB / 0.8085 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.9457, allocations: 347.3 kB / 0.8089 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of SimCode: time 1.513e-06/0.9457, allocations: 0 / 0.8089 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05997/1.006, allocations: 27.37 MB / 0.8356 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.006, allocations: 272.8 kB / 0.8359 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.445, allocations: 0 / 0.8359 GB, free: 13.34 MB / 0.6544 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: