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.001095/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001429/0.001429, allocations: 191.2 kB / 16.14 MB, free: 6.715 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.28/1.28, allocations: 205.1 MB / 222 MB, free: 4.758 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.505/1.505, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001298/0.001298, allocations: 65 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4958/0.6669, allocations: 188.2 MB / 0.9666 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007334/0.6743, allocations: 5.713 MB / 0.9722 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.6757, allocations: 38.27 kB / 0.9722 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.6773, allocations: 0.4931 MB / 0.9727 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.6809, allocations: 1.511 MB / 0.9742 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.6839, allocations: 1.078 MB / 0.9752 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003676/0.6876, allocations: 3.501 MB / 0.9786 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.6889, allocations: 0.8908 MB / 0.9795 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.6909, allocations: 0.9076 MB / 0.9804 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.6929, allocations: 0.8846 MB / 0.9812 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.6933, allocations: 55.31 kB / 0.9813 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.6964, allocations: 1.735 MB / 0.983 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.697, allocations: 447.6 kB / 0.9834 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.6981, allocations: 0.591 MB / 0.984 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.7012, allocations: 2.194 MB / 0.9861 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7012, allocations: 0 / 0.9861 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7012, allocations: 0 / 0.9861 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.59e-05/0.7012, allocations: 0 / 0.9861 GB, free: 4.32 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.002676/0.7039, allocations: 1.518 MB / 0.9876 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.704, allocations: 10.5 kB / 0.9876 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.7041, allocations: 144.2 kB / 0.9878 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.7069, allocations: 470.3 kB / 0.9882 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.7082, allocations: 0.8 MB / 0.989 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.7085, allocations: 123.5 kB / 0.9891 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.7086, allocations: 88.53 kB / 0.9892 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.7108, allocations: 1.19 MB / 0.9904 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7108, allocations: 1.281 kB / 0.9904 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7109, allocations: 37.03 kB / 0.9904 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.711, allocations: 35.91 kB / 0.9904 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.7129, allocations: 1.076 MB / 0.9915 GB, free: 18.68 MB / 0.7481 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.005853/0.7188, allocations: 4.335 MB / 0.9957 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.7205, allocations: 0.7595 MB / 0.9965 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.7213, allocations: 414.2 kB / 0.9969 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.7215, allocations: 100.1 kB / 0.997 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.7215, allocations: 37.94 kB / 0.997 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.7215, allocations: 3.984 kB / 0.997 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.005196/0.7267, allocations: 2.202 MB / 0.9991 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.7268, allocations: 62.72 kB / 0.9992 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.7277, allocations: 0.8578 MB / 1 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.7278, allocations: 42.95 kB / 1 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.728, allocations: 490.5 kB / 1.001 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7282, allocations: 160.1 kB / 1.001 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.7284, allocations: 122.8 kB / 1.001 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7285, allocations: 334.9 kB / 1.001 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.7293, allocations: 376.9 kB / 1.001 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.7303, allocations: 0.5224 MB / 1.002 GB, free: 12.84 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.005664/0.736, allocations: 2.277 MB / 1.004 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.736, allocations: 0 / 1.004 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002238/0.7383, allocations: 0.9962 MB / 1.005 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7383, allocations: 5.875 kB / 1.005 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7383, allocations: 4.344 kB / 1.005 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7383, allocations: 10.52 kB / 1.005 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.7392, allocations: 191.6 kB / 1.005 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7393, allocations: 17.3 kB / 1.005 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7404, allocations: 97.61 kB / 1.006 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.7405, allocations: 28.23 kB / 1.006 GB, free: 11.04 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.0004736/0.741, allocations: 313.6 kB / 1.006 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.7411, allocations: 93.47 kB / 1.006 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.7413, allocations: 105.7 kB / 1.006 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7413, allocations: 5.188 kB / 1.006 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.7414, allocations: 3.938 kB / 1.006 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001817/0.7432, allocations: 1.034 MB / 1.007 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.7474, allocations: 2.151 MB / 1.009 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.7474, allocations: 2.125 kB / 1.009 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.7482, allocations: 170.6 kB / 1.009 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.7482, allocations: 11.33 kB / 1.009 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.7483, allocations: 17.67 kB / 1.009 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.7483, allocations: 10.41 kB / 1.009 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7483, allocations: 3.188 kB / 1.009 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.751, allocations: 1.452 MB / 1.011 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.7514, allocations: 252.5 kB / 1.011 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7516, allocations: 18.83 kB / 1.011 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.7525, allocations: 101.9 kB / 1.011 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.7526, allocations: 38.27 kB / 1.011 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.7527, allocations: 26.14 kB / 1.011 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006399/0.7533, allocations: 0.5993 MB / 1.012 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.483e-06/0.7533, allocations: 0 / 1.012 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007727/0.7541, allocations: 270.7 kB / 1.012 GB, free: 6.953 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.003263/0.7574, allocations: 2.126 MB / 1.014 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.7592, allocations: 0.8166 MB / 1.015 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7592, allocations: 3.406 kB / 1.015 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.7601, allocations: 399.9 kB / 1.015 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.7623, allocations: 0.5515 MB / 1.016 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.7759, allocations: 8.844 MB / 1.024 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.7765, allocations: 1.107 MB / 1.026 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.7776, allocations: 255.5 kB / 1.026 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.7781, allocations: 351 kB / 1.026 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/0.7781, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.327/3.106, allocations: 27.62 MB / 1.053 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003605/3.106, allocations: 310 kB / 1.053 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/5.809, allocations: 2.625 kB / 1.053 GB, free: 3.422 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)