Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_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.004918/0.004918, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001229/0.001229, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.22/1.22, 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.002135/0.002135, allocations: 295.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8805/0.8805, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 99.78 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4015, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1738/0.5753, allocations: 187.3 MB / 0.9488 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3962/0.9716, allocations: 13.07 MB / 0.9616 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.9728, allocations: 33.53 kB / 0.9616 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.9742, allocations: 436.5 kB / 0.962 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.9773, allocations: 1.201 MB / 0.9632 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.9792, allocations: 0.7126 MB / 0.9639 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.9819, allocations: 2.022 MB / 0.9659 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.9833, allocations: 0.8401 MB / 0.9667 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.9873, allocations: 1.876 MB / 0.9685 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.9889, allocations: 0.673 MB / 0.9692 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.9892, allocations: 79.97 kB / 0.9692 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.9913, allocations: 0.8702 MB / 0.9701 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.9918, allocations: 388.9 kB / 0.9705 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.9925, allocations: 0.5011 MB / 0.971 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.9947, allocations: 1.505 MB / 0.9724 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9947, allocations: 1 kB / 0.9724 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9947, allocations: 0 / 0.9724 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9947, allocations: 0 / 0.9724 GB, free: 1.652 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001653/0.9964, allocations: 1.278 MB / 0.9737 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.9964, allocations: 8.125 kB / 0.9737 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.9965, allocations: 121.3 kB / 0.9738 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.9977, allocations: 218.8 kB / 0.974 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.9987, allocations: 0.6898 MB / 0.9747 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.9987, allocations: 58.12 kB / 0.9747 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.9988, allocations: 76 kB / 0.9748 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.9999, allocations: 0.9374 MB / 0.9757 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.9999, allocations: 0.75 kB / 0.9757 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1, allocations: 34.78 kB / 0.9758 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1, allocations: 31.41 kB / 0.9758 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/1.001, allocations: 0.6167 MB / 0.9764 GB, free: 16.27 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.003646/1.004, allocations: 4.596 MB / 0.9809 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/1.005, allocations: 0.5364 MB / 0.9814 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/1.005, allocations: 245.7 kB / 0.9816 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/1.006, allocations: 103.9 kB / 0.9817 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.006, allocations: 46.66 kB / 0.9818 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/1.006, allocations: 0 / 0.9818 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002385/1.008, allocations: 1.619 MB / 0.9834 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.008, allocations: 107.9 kB / 0.9835 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/1.009, allocations: 0.7186 MB / 0.9842 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/1.009, allocations: 36.89 kB / 0.9842 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/1.009, allocations: 420.9 kB / 0.9846 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.009, allocations: 175.1 kB / 0.9848 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.009, allocations: 121.1 kB / 0.9849 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.01, allocations: 327.2 kB / 0.9852 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/1.01, allocations: 193.9 kB / 0.9854 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/1.01, allocations: 413.8 kB / 0.9858 GB, free: 10.97 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.012, allocations: 1.185 MB / 0.9869 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.012, allocations: 0 / 0.9869 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008289/1.013, allocations: 0.6671 MB / 0.9876 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.013, allocations: 15.44 kB / 0.9876 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.013, allocations: 8.562 kB / 0.9876 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.013, allocations: 8.125 kB / 0.9876 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.013, allocations: 129 kB / 0.9877 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.013, allocations: 13.62 kB / 0.9877 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/1.014, allocations: 30.56 kB / 0.9878 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/1.014, allocations: 28.81 kB / 0.9878 GB, free: 10.55 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: 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.0003282/1.014, allocations: 276.4 kB / 0.9881 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.015, allocations: 89.98 kB / 0.9882 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.015, allocations: 88.8 kB / 0.9882 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.015, allocations: 6.656 kB / 0.9882 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.015, allocations: 0 / 0.9882 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006489/1.015, allocations: 0.7041 MB / 0.9889 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/1.017, allocations: 1.637 MB / 0.9905 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.017, allocations: 5.25 kB / 0.9905 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.018, allocations: 99.48 kB / 0.9906 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.018, allocations: 9.438 kB / 0.9906 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.018, allocations: 18.23 kB / 0.9907 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.018, allocations: 8.688 kB / 0.9907 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.018, allocations: 6.031 kB / 0.9907 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/1.019, allocations: 0.8623 MB / 0.9915 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/1.019, allocations: 215 kB / 0.9917 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/1.019, allocations: 15.69 kB / 0.9917 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/1.02, allocations: 20.56 kB / 0.9918 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/1.02, allocations: 42.67 kB / 0.9918 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.02, allocations: 19 kB / 0.9918 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004944/1.02, allocations: 0.5109 MB / 0.9923 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.02, allocations: 0.8438 kB / 0.9923 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006564/1.021, allocations: 198.5 kB / 0.9925 GB, free: 8.781 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.0015/1.023, allocations: 1.509 MB / 0.994 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006859/1.023, allocations: 491.9 kB / 0.9944 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.023, allocations: 0 / 0.9944 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/1.023, allocations: 209.8 kB / 0.9946 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.025, allocations: 481.3 kB / 0.9951 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/1.032, allocations: 6.648 MB / 1.002 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.033, allocations: 1.023 MB / 1.003 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000639/1.034, allocations: 198.1 kB / 1.003 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.034, allocations: 299.3 kB / 1.003 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/1.034, allocations: 4 kB / 1.003 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/1.078, allocations: 22.26 MB / 1.025 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.537, allocations: 4.25 kB / 1.025 GB, free: 15.47 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)