Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.00969/0.00969, allocations: 102.9 kB / 15.73 MB, free: 5.984 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.001932/0.001932, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.838/1.838, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9957/0.9957, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 62.22 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 1.015/1.256, allocations: 190.5 MB / 0.8452 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01579/1.272, allocations: 5.687 MB / 0.8508 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/1.274, allocations: 40.78 kB / 0.8508 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/1.277, allocations: 0.5703 MB / 0.8514 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00799/1.286, allocations: 1.604 MB / 0.8529 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/1.291, allocations: 1.205 MB / 0.8541 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005795/1.297, allocations: 2.555 MB / 0.8566 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/1.3, allocations: 1.04 MB / 0.8576 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/1.304, allocations: 1.063 MB / 0.8587 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/1.307, allocations: 0.8592 MB / 0.8595 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005575/1.308, allocations: 107.6 kB / 0.8596 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005663/1.313, allocations: 1.556 MB / 0.8611 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/1.315, allocations: 0.4909 MB / 0.8616 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002248/1.317, allocations: 0.6378 MB / 0.8622 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006692/1.324, allocations: 2.185 MB / 0.8644 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/1.324, allocations: 3.984 kB / 0.8644 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/1.324, allocations: 0 / 0.8644 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.375e-05/1.324, allocations: 4 kB / 0.8644 GB, free: 4.141 MB / 0.6231 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.005836/1.33, allocations: 1.515 MB / 0.8658 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/1.33, allocations: 12.03 kB / 0.8659 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005264/1.33, allocations: 143.3 kB / 0.866 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/1.336, allocations: 470 kB / 0.8664 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/1.34, allocations: 0.8553 MB / 0.8673 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/1.34, allocations: 73.92 kB / 0.8674 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/1.34, allocations: 84 kB / 0.8674 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/1.345, allocations: 1.171 MB / 0.8686 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/1.345, allocations: 11.88 kB / 0.8686 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/1.345, allocations: 36 kB / 0.8686 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/1.345, allocations: 34 kB / 0.8687 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/1.349, allocations: 1.066 MB / 0.8697 GB, free: 14.55 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.01253/1.362, allocations: 4.296 MB / 0.8739 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/1.365, allocations: 0.7477 MB / 0.8746 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/1.367, allocations: 396.6 kB / 0.875 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/1.367, allocations: 105 kB / 0.8751 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.367, allocations: 42.56 kB / 0.8751 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/1.367, allocations: 4 kB / 0.8751 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.01008/1.377, allocations: 2.179 MB / 0.8773 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.377, allocations: 59.41 kB / 0.8773 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/1.38, allocations: 0.8686 MB / 0.8782 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.38, allocations: 37.7 kB / 0.8782 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/1.381, allocations: 491.3 kB / 0.8787 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/1.381, allocations: 161.6 kB / 0.8788 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/1.382, allocations: 122.2 kB / 0.8789 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.382, allocations: 326 kB / 0.8793 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.384, allocations: 373 kB / 0.8796 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.386, allocations: 0.5069 MB / 0.8801 GB, free: 3.434 MB / 0.6387 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.009947/1.395, allocations: 2.256 MB / 0.8823 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.396, allocations: 0 / 0.8823 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003988/1.4, allocations: 0.9859 MB / 0.8833 GB, free: 120 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/1.4, allocations: 10.19 kB / 0.8833 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.4, allocations: 4 kB / 0.8833 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/1.4, allocations: 11.94 kB / 0.8833 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.401, allocations: 187.8 kB / 0.8835 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/1.401, allocations: 13.56 kB / 0.8835 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.403, allocations: 75 kB / 0.8836 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.403, allocations: 28 kB / 0.8836 GB, free: 15.8 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009301/1.404, allocations: 316.3 kB / 0.8839 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/1.405, allocations: 94.95 kB / 0.884 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/1.405, allocations: 100.8 kB / 0.8841 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.405, allocations: 7.938 kB / 0.8841 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.405, allocations: 3.938 kB / 0.8841 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003193/1.408, allocations: 1.026 MB / 0.8851 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007999/1.416, allocations: 2.142 MB / 0.8872 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.416, allocations: 4 kB / 0.8872 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.418, allocations: 168.2 kB / 0.8873 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/1.418, allocations: 4 kB / 0.8874 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.418, allocations: 15.98 kB / 0.8874 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.418, allocations: 8 kB / 0.8874 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.418, allocations: 11.88 kB / 0.8874 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/1.423, allocations: 1.442 MB / 0.8888 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/1.424, allocations: 255.9 kB / 0.889 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/1.425, allocations: 12 kB / 0.8891 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.426, allocations: 71.86 kB / 0.8891 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.426, allocations: 47.81 kB / 0.8892 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.427, allocations: 27.98 kB / 0.8892 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001528/1.428, allocations: 0.6044 MB / 0.8898 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/1.428, allocations: 0 / 0.8898 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001713/1.43, allocations: 267.9 kB / 0.89 GB, free: 8.934 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006243/1.436, allocations: 2.089 MB / 0.8921 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003546/1.44, allocations: 0.8118 MB / 0.8929 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.44, allocations: 4.75 kB / 0.8929 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.441, allocations: 392.3 kB / 0.8932 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/1.446, allocations: 0.5791 MB / 0.8938 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/1.472, allocations: 8.165 MB / 0.9018 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.473, allocations: 1.106 MB / 0.9029 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001662/1.475, allocations: 263.8 kB / 0.9031 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/1.476, allocations: 355.2 kB / 0.9035 GB, free: 10.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/1.476, allocations: 0 / 0.9035 GB, free: 10.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.577, allocations: 29.23 MB / 0.932 GB, free: 14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.25, allocations: 15.98 kB / 0.932 GB, free: 13.99 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)