Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001008/0.001008, allocations: 84.38 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.001389/0.001389, 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.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9912/0.9912, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 0.5071 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 82.31 MB / 0.5875 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5155/0.6888, allocations: 173.3 MB / 0.7567 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008522/0.6974, allocations: 5.377 MB / 0.7619 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.6987, allocations: 31.81 kB / 0.762 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.6999, allocations: 397.4 kB / 0.7623 GB, free: 9.938 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.003293/0.7032, allocations: 1.205 MB / 0.7635 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.7059, allocations: 0.8964 MB / 0.7644 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004088/0.71, allocations: 2.979 MB / 0.7673 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.7119, allocations: 0.7388 MB / 0.768 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.7142, allocations: 0.8635 MB / 0.7689 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.7159, allocations: 0.7939 MB / 0.7696 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.716, allocations: 48 kB / 0.7697 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.719, allocations: 0.9159 MB / 0.7706 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006041/0.7196, allocations: 434.7 kB / 0.771 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.7201, allocations: 249.1 kB / 0.7712 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.7227, allocations: 1.528 MB / 0.7727 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.7227, allocations: 3.938 kB / 0.7727 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7227, allocations: 0 / 0.7727 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.69e-05/0.7228, allocations: 0 / 0.7727 GB, free: 15.27 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003256/0.726, allocations: 1.315 MB / 0.774 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.7261, allocations: 8.031 kB / 0.774 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.7264, allocations: 143.3 kB / 0.7742 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.7293, allocations: 0.4903 MB / 0.7746 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.7312, allocations: 0.7913 MB / 0.7754 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.7315, allocations: 133.9 kB / 0.7755 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.7317, allocations: 88 kB / 0.7756 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.734, allocations: 1.196 MB / 0.7768 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.7341, allocations: 3.938 kB / 0.7768 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.7342, allocations: 36 kB / 0.7768 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.7343, allocations: 37.98 kB / 0.7769 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.7365, allocations: 1.105 MB / 0.7779 GB, free: 9.805 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.006886/0.7434, allocations: 4.356 MB / 0.7822 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.7452, allocations: 0.7952 MB / 0.783 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.7461, allocations: 421.8 kB / 0.7834 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.7463, allocations: 105 kB / 0.7835 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.7464, allocations: 42.56 kB / 0.7835 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.7464, allocations: 4 kB / 0.7835 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.005515/0.7519, allocations: 2.28 MB / 0.7857 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.752, allocations: 55.41 kB / 0.7858 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.753, allocations: 0.8569 MB / 0.7866 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.753, allocations: 37.7 kB / 0.7867 GB, free: 500 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.7534, allocations: 495.3 kB / 0.7871 GB, free: 0 / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.7535, allocations: 165.6 kB / 0.7873 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.7536, allocations: 8 kB / 0.7873 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7537, allocations: 334 kB / 0.7876 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.7546, allocations: 385 kB / 0.788 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.7556, allocations: 0.5342 MB / 0.7885 GB, free: 14.53 MB / 0.6075 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.004108/0.7597, allocations: 1.557 MB / 0.79 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7598, allocations: 7.953 kB / 0.79 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002261/0.762, allocations: 1.021 MB / 0.791 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7621, allocations: 15.94 kB / 0.7911 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7621, allocations: 4 kB / 0.7911 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.7621, allocations: 8 kB / 0.7911 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/0.7631, allocations: 207.7 kB / 0.7913 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.7631, allocations: 4 kB / 0.7913 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.7642, allocations: 115.5 kB / 0.7914 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.7642, allocations: 28.55 kB / 0.7914 GB, free: 11.55 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: 17 * 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005239/0.7648, allocations: 305.6 kB / 0.7917 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.765, allocations: 102.8 kB / 0.7918 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.7652, allocations: 108.7 kB / 0.7919 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7653, allocations: 8 kB / 0.7919 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7653, allocations: 0 / 0.7919 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001936/0.7672, allocations: 1.065 MB / 0.7929 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.7717, allocations: 2.208 MB / 0.7951 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7718, allocations: 4 kB / 0.7951 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008556/0.7726, allocations: 188.2 kB / 0.7953 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.7727, allocations: 7.953 kB / 0.7953 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.7727, allocations: 12 kB / 0.7953 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.7727, allocations: 11.98 kB / 0.7953 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7727, allocations: 7.938 kB / 0.7953 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.7758, allocations: 1.495 MB / 0.7968 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/0.7763, allocations: 252 kB / 0.797 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7764, allocations: 19.95 kB / 0.797 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.7774, allocations: 113.8 kB / 0.7972 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.7775, allocations: 35.91 kB / 0.7972 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.7775, allocations: 27.97 kB / 0.7972 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007914/0.7783, allocations: 0.5927 MB / 0.7978 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7783, allocations: 0 / 0.7978 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009457/0.7793, allocations: 272 kB / 0.7981 GB, free: 4.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003574/0.7829, allocations: 2.171 MB / 0.8002 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.785, allocations: 0.8429 MB / 0.801 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.785, allocations: 64 / 0.801 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.7859, allocations: 424.3 kB / 0.8014 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.7887, allocations: 0.5615 MB / 0.8019 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.8009, allocations: 6.443 MB / 0.8082 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.8017, allocations: 1.114 MB / 0.8093 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001164/0.8028, allocations: 264.5 kB / 0.8096 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.8034, allocations: 359.2 kB / 0.8099 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.8034, allocations: 4 kB / 0.8099 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.8522, allocations: 28.18 MB / 0.8374 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.8525, allocations: 277.5 kB / 0.8377 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.252, allocations: 0 / 0.8377 GB, free: 11.97 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: