Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.005137/0.005137, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001454/0.001454, allocations: 190.1 kB / 16.67 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002381/0.002381, allocations: 294.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 92.08 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3793, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2063/0.5856, allocations: 190.6 MB / 0.9521 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3642/0.9499, allocations: 5.728 MB / 0.9577 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.9512, allocations: 41.66 kB / 0.9577 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.9526, allocations: 0.5768 MB / 0.9583 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.9563, allocations: 1.625 MB / 0.9598 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.9592, allocations: 1.215 MB / 0.961 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.9621, allocations: 2.558 MB / 0.9635 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009989/0.9631, allocations: 0.8722 MB / 0.9644 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.9646, allocations: 1.046 MB / 0.9654 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.9659, allocations: 0.8199 MB / 0.9662 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.9661, allocations: 95.81 kB / 0.9663 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.9687, allocations: 1.544 MB / 0.9678 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.9691, allocations: 404.7 kB / 0.9682 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.9697, allocations: 0.5896 MB / 0.9688 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.9719, allocations: 2.025 MB / 0.9707 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.9719, allocations: 3.75 kB / 0.9707 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9719, allocations: 0 / 0.9707 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.972, allocations: 0 / 0.9707 GB, free: 1.613 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001926/0.9739, allocations: 1.467 MB / 0.9722 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.9739, allocations: 12.45 kB / 0.9722 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.9741, allocations: 124.1 kB / 0.9723 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.9764, allocations: 424.8 kB / 0.9727 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.9775, allocations: 0.8077 MB / 0.9735 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.9776, allocations: 57.53 kB / 0.9736 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.9777, allocations: 74.09 kB / 0.9736 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.9792, allocations: 0.9807 MB / 0.9746 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.9792, allocations: 4.062 kB / 0.9746 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.9793, allocations: 34 kB / 0.9746 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.9793, allocations: 29.8 kB / 0.9746 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.9809, allocations: 0.8703 MB / 0.9755 GB, free: 16.3 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.004879/0.9858, allocations: 3.489 MB / 0.9789 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.9872, allocations: 0.6112 MB / 0.9795 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.9879, allocations: 332.4 kB / 0.9798 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.9881, allocations: 99.34 kB / 0.9799 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9881, allocations: 48.3 kB / 0.98 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.9881, allocations: 1 kB / 0.98 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.006885/0.995, allocations: 2.41 MB / 0.9823 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.9951, allocations: 58.09 kB / 0.9824 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.9958, allocations: 0.797 MB / 0.9831 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.9959, allocations: 36.05 kB / 0.9832 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.9961, allocations: 457.5 kB / 0.9836 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.9962, allocations: 151.8 kB / 0.9838 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.9964, allocations: 107.9 kB / 0.9839 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9966, allocations: 330.6 kB / 0.9842 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.9972, allocations: 301.6 kB / 0.9845 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.998, allocations: 408.9 kB / 0.9849 GB, free: 13.32 MB / 0.7325 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.004583/1.003, allocations: 1.874 MB / 0.9867 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.003, allocations: 3.938 kB / 0.9867 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00274/1.005, allocations: 1.038 MB / 0.9877 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.005, allocations: 6.875 kB / 0.9877 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.005, allocations: 4.594 kB / 0.9877 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005223/1.006, allocations: 186.6 kB / 0.9879 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/1.007, allocations: 141.6 kB / 0.988 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/1.01, allocations: 2.236 MB / 0.9902 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/1.011, allocations: 53 kB / 0.9903 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/1.011, allocations: 20.38 kB / 0.9903 GB, free: 11.63 MB / 0.7325 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0003691/1.011, allocations: 287.2 kB / 0.9906 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.012, allocations: 89.5 kB / 0.9906 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/1.012, allocations: 96.55 kB / 0.9907 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.012, allocations: 3.156 kB / 0.9907 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.012, allocations: 3.094 kB / 0.9907 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/1.014, allocations: 0.89 MB / 0.9916 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/1.019, allocations: 2.107 MB / 0.9937 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.019, allocations: 3.594 kB / 0.9937 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/1.019, allocations: 123.3 kB / 0.9938 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/1.02, allocations: 185.9 kB / 0.994 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/1.02, allocations: 17.86 kB / 0.994 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/1.023, allocations: 2.187 MB / 0.9961 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.023, allocations: 12.03 kB / 0.9961 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/1.026, allocations: 1.419 MB / 0.9975 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/1.027, allocations: 240.8 kB / 0.9977 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.027, allocations: 8.594 kB / 0.9978 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/1.028, allocations: 64.48 kB / 0.9978 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/1.028, allocations: 44.19 kB / 0.9979 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/1.028, allocations: 29.09 kB / 0.9979 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005956/1.028, allocations: 0.5556 MB / 0.9984 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 0.9984 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007375/1.029, allocations: 269.3 kB / 0.9987 GB, free: 8.832 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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.003932/1.033, allocations: 2.069 MB / 1.001 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.035, allocations: 0.8013 MB / 1.001 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.035, allocations: 4.656 kB / 1.001 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008703/1.036, allocations: 459.5 kB / 1.002 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.038, allocations: 0.5462 MB / 1.002 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.051, allocations: 7.677 MB / 1.01 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.052, allocations: 1.048 MB / 1.011 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007002/1.053, allocations: 212.9 kB / 1.011 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/1.053, allocations: 323.6 kB / 1.011 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/1.053, allocations: 0 / 1.011 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06085/1.114, allocations: 27.86 MB / 1.039 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.12, allocations: 15.95 kB / 1.039 GB, free: 2.801 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)