Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 69.84 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2023, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5295/0.7317, allocations: 190.4 MB / 0.9694 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.7418, allocations: 5.656 MB / 0.975 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.7437, allocations: 39.41 kB / 0.975 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.7456, allocations: 0.5603 MB / 0.9756 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.7501, allocations: 1.6 MB / 0.9771 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.7535, allocations: 1.204 MB / 0.9783 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.7571, allocations: 2.531 MB / 0.9808 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.7587, allocations: 1.037 MB / 0.9818 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.7608, allocations: 1.037 MB / 0.9828 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.7627, allocations: 0.8505 MB / 0.9836 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.763, allocations: 107.2 kB / 0.9837 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.7661, allocations: 1.557 MB / 0.9852 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006549/0.7667, allocations: 0.494 MB / 0.9857 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7679, allocations: 0.6436 MB / 0.9864 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.771, allocations: 2.154 MB / 0.9885 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.771, allocations: 0 / 0.9885 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.771, allocations: 0 / 0.9885 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.467e-05/0.7711, allocations: 10.59 kB / 0.9885 GB, free: 9.512 MB / 0.7325 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.00284/0.7739, allocations: 1.515 MB / 0.9899 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.774, allocations: 10.22 kB / 0.99 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.7741, allocations: 140 kB / 0.9901 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.7772, allocations: 470.4 kB / 0.9905 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.7785, allocations: 0.8047 MB / 0.9913 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.7789, allocations: 119.3 kB / 0.9914 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.779, allocations: 89.88 kB / 0.9915 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.7811, allocations: 1.18 MB / 0.9927 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.7811, allocations: 6.406 kB / 0.9927 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.7812, allocations: 38.94 kB / 0.9927 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.7813, allocations: 38.52 kB / 0.9928 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.7836, allocations: 1.071 MB / 0.9938 GB, free: 6.148 MB / 0.7325 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.006353/0.79, allocations: 4.362 MB / 0.9981 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.792, allocations: 0.7566 MB / 0.9988 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009459/0.7929, allocations: 411.2 kB / 0.9992 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.7931, allocations: 104.2 kB / 0.9993 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.7931, allocations: 38.88 kB / 0.9993 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.7932, allocations: 4 kB / 0.9993 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005655/0.7988, allocations: 2.204 MB / 1.001 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7989, allocations: 64.56 kB / 1.002 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009025/0.7998, allocations: 0.8584 MB / 1.002 GB, free: 180 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.7998, allocations: 36.89 kB / 1.002 GB, free: 140 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.8004, allocations: 0.5062 MB / 1.003 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.8006, allocations: 163.5 kB / 1.003 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.8008, allocations: 124.8 kB / 1.003 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8009, allocations: 333.3 kB / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/0.8019, allocations: 375.4 kB / 1.004 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.8029, allocations: 0.5129 MB / 1.004 GB, free: 14.75 MB / 0.7481 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.006168/0.8091, allocations: 2.287 MB / 1.007 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8091, allocations: 2.719 kB / 1.007 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002254/0.8114, allocations: 0.9924 MB / 1.008 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8114, allocations: 4.719 kB / 1.008 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8114, allocations: 4.656 kB / 1.008 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8115, allocations: 7.594 kB / 1.008 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.8124, allocations: 196.1 kB / 1.008 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.8124, allocations: 15.31 kB / 1.008 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.8134, allocations: 67.38 kB / 1.008 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.8134, allocations: 27.42 kB / 1.008 GB, free: 12.92 MB / 0.7481 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.0004051/0.8139, allocations: 311.4 kB / 1.008 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.814, allocations: 94.66 kB / 1.008 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.8142, allocations: 109.1 kB / 1.008 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8142, allocations: 8.938 kB / 1.008 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8142, allocations: 3.938 kB / 1.008 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002001/0.8163, allocations: 1.028 MB / 1.009 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.8207, allocations: 2.159 MB / 1.011 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8207, allocations: 2.625 kB / 1.012 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.8216, allocations: 169.8 kB / 1.012 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8217, allocations: 5.688 kB / 1.012 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.8217, allocations: 18.83 kB / 1.012 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.8217, allocations: 9.703 kB / 1.012 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.8218, allocations: 8.688 kB / 1.012 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.8249, allocations: 1.46 MB / 1.013 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.8252, allocations: 250.7 kB / 1.013 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.8254, allocations: 19.62 kB / 1.013 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.8263, allocations: 75.45 kB / 1.013 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.8264, allocations: 39 kB / 1.013 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.8265, allocations: 32 kB / 1.014 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007396/0.8272, allocations: 0.5958 MB / 1.014 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8273, allocations: 0 / 1.014 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008812/0.8281, allocations: 268 kB / 1.014 GB, free: 8.785 MB / 0.7481 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.00397/0.8321, allocations: 2.099 MB / 1.016 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.8344, allocations: 0.8954 MB / 1.017 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8345, allocations: 0 / 1.017 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.8354, allocations: 402.7 kB / 1.018 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8378, allocations: 0.5768 MB / 1.018 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.8517, allocations: 8.521 MB / 1.027 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.8524, allocations: 1.11 MB / 1.028 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000922/0.8533, allocations: 255.8 kB / 1.028 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.8538, allocations: 351.3 kB / 1.028 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of SimCode: time 3.4e-07/0.8538, allocations: 0 / 1.028 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.9029, allocations: 28.53 MB / 1.056 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.666, allocations: 7.859 kB / 1.056 GB, free: 0.8828 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)