Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.004055/0.004055, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001003/0.001003, allocations: 194.1 kB / 16.67 MB, free: 5.965 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 282 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8707/0.8707, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001736, allocations: 103.8 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3905, allocations: 86.97 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1733/0.5638, allocations: 187.1 MB / 0.9486 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.384/0.9479, allocations: 13.01 MB / 0.9613 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.9489, allocations: 33.66 kB / 0.9614 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.95, allocations: 419.9 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.9519, allocations: 0.962 MB / 0.9627 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.9534, allocations: 0.7178 MB / 0.9634 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.9548, allocations: 1.505 MB / 0.9649 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.9556, allocations: 0.6541 MB / 0.9655 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.9588, allocations: 1.778 MB / 0.9673 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.9598, allocations: 0.5102 MB / 0.9677 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.9599, allocations: 54.44 kB / 0.9678 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.9612, allocations: 0.878 MB / 0.9687 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.9614, allocations: 276.2 kB / 0.9689 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.9618, allocations: 388.2 kB / 0.9693 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.9632, allocations: 1.183 MB / 0.9704 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.9632, allocations: 0 / 0.9704 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.113e-06/0.9632, allocations: 2.938 kB / 0.9704 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.9632, allocations: 0 / 0.9704 GB, free: 1.691 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001279/0.9645, allocations: 1.079 MB / 0.9715 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.9645, allocations: 9.156 kB / 0.9715 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.989e-05/0.9646, allocations: 105.4 kB / 0.9716 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.9655, allocations: 194.2 kB / 0.9718 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.9662, allocations: 0.5576 MB / 0.9723 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.9663, allocations: 43.28 kB / 0.9724 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.9663, allocations: 57.28 kB / 0.9724 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.9672, allocations: 0.7765 MB / 0.9732 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.9673, allocations: 5.656 kB / 0.9732 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.9673, allocations: 28.03 kB / 0.9732 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.9674, allocations: 30.44 kB / 0.9733 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.9681, allocations: 454.8 kB / 0.9737 GB, free: 16.35 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.003173/0.9713, allocations: 4.392 MB / 0.978 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.9714, allocations: 102.6 kB / 0.9781 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.9715, allocations: 77.08 kB / 0.9782 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.9716, allocations: 95.27 kB / 0.9782 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.9716, allocations: 39.09 kB / 0.9783 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.9717, allocations: 0 / 0.9783 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005545/0.9722, allocations: 253.1 kB / 0.9785 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.9723, allocations: 129.5 kB / 0.9786 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.9732, allocations: 0.8441 MB / 0.9795 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.9732, allocations: 25.7 kB / 0.9795 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.9734, allocations: 406.4 kB / 0.9799 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.9735, allocations: 44.75 kB / 0.9799 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.9736, allocations: 90.53 kB / 0.98 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.9737, allocations: 328.8 kB / 0.9803 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.9739, allocations: 108.8 kB / 0.9804 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.9743, allocations: 366 kB / 0.9808 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.9748, allocations: 443.5 kB / 0.9812 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9748, allocations: 3.375 kB / 0.9812 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007658/0.9756, allocations: 0.4995 MB / 0.9817 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9756, allocations: 9.406 kB / 0.9817 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.9756, allocations: 7.938 kB / 0.9817 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9756, allocations: 11 kB / 0.9817 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.9759, allocations: 96.59 kB / 0.9818 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9759, allocations: 15.2 kB / 0.9818 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.9765, allocations: 117.9 kB / 0.9819 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.9766, allocations: 21.5 kB / 0.982 GB, free: 11.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002078/0.9768, allocations: 236 kB / 0.9822 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.9769, allocations: 81.17 kB / 0.9823 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.73e-05/0.977, allocations: 73.75 kB / 0.9823 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.977, allocations: 3.406 kB / 0.9823 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.977, allocations: 1.094 kB / 0.9823 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.977, allocations: 2.094 kB / 0.9823 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.9781, allocations: 1.125 MB / 0.9834 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9781, allocations: 2.844 kB / 0.9834 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.9782, allocations: 20.91 kB / 0.9835 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.9782, allocations: 4.328 kB / 0.9835 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9783, allocations: 8.094 kB / 0.9835 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9783, allocations: 3.375 kB / 0.9835 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9783, allocations: 5.312 kB / 0.9835 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.9785, allocations: 267.9 kB / 0.9837 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.9787, allocations: 173.6 kB / 0.9839 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.9788, allocations: 13.98 kB / 0.9839 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.9791, allocations: 14.81 kB / 0.9839 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.9792, allocations: 16.83 kB / 0.9839 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.9792, allocations: 5.375 kB / 0.9839 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006486/0.9798, allocations: 0.5868 MB / 0.9845 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9798, allocations: 0 / 0.9845 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000494/0.9803, allocations: 159.3 kB / 0.9847 GB, free: 9.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.000825/0.9812, allocations: 0.899 MB / 0.9856 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.9816, allocations: 245.2 kB / 0.9858 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9816, allocations: 2.562 kB / 0.9858 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.9817, allocations: 47.02 kB / 0.9858 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.9832, allocations: 381.4 kB / 0.9862 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.9889, allocations: 5.472 MB / 0.9915 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.9893, allocations: 0.9377 MB / 0.9925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000398/0.9897, allocations: 145.6 kB / 0.9926 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.99, allocations: 233.4 kB / 0.9928 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.99, allocations: 0 / 0.9928 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/1.023, allocations: 18 MB / 1.01 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.3, allocations: 19.5 kB / 1.01 GB, free: 4.312 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)