Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001625/0.001625, 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.002257/0.002257, allocations: 196.2 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.738/1.738, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.8/1.8, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002773/0.002773, allocations: 73.45 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.248, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.644/0.892, allocations: 187.3 MB / 0.9664 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.9068, allocations: 13.03 MB / 0.9791 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.9082, allocations: 36.16 kB / 0.9791 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.9095, allocations: 424.9 kB / 0.9795 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.9125, allocations: 1.155 MB / 0.9806 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.9142, allocations: 0.6935 MB / 0.9813 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.9165, allocations: 2.006 MB / 0.9833 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.9176, allocations: 0.8458 MB / 0.9841 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.9214, allocations: 1.808 MB / 0.9859 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.9228, allocations: 0.6605 MB / 0.9865 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.923, allocations: 81.56 kB / 0.9866 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.9246, allocations: 0.8615 MB / 0.9874 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.925, allocations: 387.2 kB / 0.9878 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.9255, allocations: 0.4991 MB / 0.9883 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.9272, allocations: 1.468 MB / 0.9897 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9272, allocations: 2.938 kB / 0.9897 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9272, allocations: 0 / 0.9897 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.9273, allocations: 0 / 0.9897 GB, free: 9.895 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001619/0.9289, allocations: 1.235 MB / 0.9909 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9289, allocations: 10.28 kB / 0.9909 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.9291, allocations: 119.3 kB / 0.9911 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.9302, allocations: 217 kB / 0.9913 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.9311, allocations: 0.6358 MB / 0.9919 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.9311, allocations: 58.72 kB / 0.9919 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.9312, allocations: 74.06 kB / 0.992 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.9324, allocations: 0.9303 MB / 0.9929 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.9324, allocations: 6.656 kB / 0.9929 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.9325, allocations: 40.33 kB / 0.993 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.9326, allocations: 26.44 kB / 0.993 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.9334, allocations: 0.6147 MB / 0.9936 GB, free: 7.18 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.003754/0.9372, allocations: 4.596 MB / 0.9981 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.9379, allocations: 0.5472 MB / 0.9986 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.9382, allocations: 249.7 kB / 0.9989 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.9383, allocations: 98.56 kB / 0.9989 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9384, allocations: 43.28 kB / 0.999 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.9384, allocations: 0 / 0.999 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002529/0.9409, allocations: 1.584 MB / 1.001 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.941, allocations: 109.5 kB / 1.001 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.9417, allocations: 0.7086 MB / 1.001 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.9418, allocations: 36.61 kB / 1.001 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.942, allocations: 413.4 kB / 1.002 GB, free: 372 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.9422, allocations: 164.1 kB / 1.002 GB, free: 228 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.9423, allocations: 123.6 kB / 1.002 GB, free: 152 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.9425, allocations: 383.7 kB / 1.002 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.9427, allocations: 188.7 kB / 1.003 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.9432, allocations: 414 kB / 1.003 GB, free: 15.32 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.9453, allocations: 1.168 MB / 1.004 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9453, allocations: 3.219 kB / 1.004 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009088/0.9462, allocations: 0.6668 MB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9462, allocations: 11.81 kB / 1.005 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9462, allocations: 5.125 kB / 1.005 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9463, allocations: 10.12 kB / 1.005 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.9467, allocations: 125.8 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.9468, allocations: 10.19 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.9473, allocations: 28.39 kB / 1.005 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.9474, allocations: 27 kB / 1.005 GB, free: 14.12 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003269/0.9477, allocations: 283.8 kB / 1.005 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.9478, allocations: 87.61 kB / 1.005 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.948, allocations: 84.75 kB / 1.005 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.948, allocations: 5.094 kB / 1.005 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.948, allocations: 0 / 1.005 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000691/0.9487, allocations: 0.7056 MB / 1.006 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.951, allocations: 1.639 MB / 1.008 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.951, allocations: 5.781 kB / 1.008 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.9514, allocations: 105.6 kB / 1.008 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.9515, allocations: 12 kB / 1.008 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.9515, allocations: 11.88 kB / 1.008 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.9515, allocations: 8.312 kB / 1.008 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9515, allocations: 9.906 kB / 1.008 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.9526, allocations: 0.8922 MB / 1.009 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.9529, allocations: 215 kB / 1.009 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.953, allocations: 11.97 kB / 1.009 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.9534, allocations: 22.66 kB / 1.009 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.9535, allocations: 41.97 kB / 1.009 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.9535, allocations: 23.14 kB / 1.009 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005603/0.9541, allocations: 0.5022 MB / 1.01 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9541, allocations: 0 / 1.01 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007349/0.9548, allocations: 208.7 kB / 1.01 GB, free: 10.74 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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.001631/0.9565, allocations: 1.52 MB / 1.011 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008473/0.9573, allocations: 0.5153 MB / 1.012 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9574, allocations: 0 / 1.012 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.9576, allocations: 216.3 kB / 1.012 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.9597, allocations: 484.3 kB / 1.012 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.9677, allocations: 6.897 MB / 1.019 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.9684, allocations: 1.026 MB / 1.02 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007519/0.9691, allocations: 196.9 kB / 1.02 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.9695, allocations: 292.9 kB / 1.021 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.9695, allocations: 0 / 1.021 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/1.016, allocations: 22 MB / 1.042 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.237, allocations: 9.297 kB / 1.042 GB, free: 0.7148 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)