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.003948/0.003948, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001191/0.001191, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 298.6 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.946/0.946, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 95.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4118, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2089/0.6207, allocations: 187.3 MB / 0.9488 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4036/1.024, allocations: 13.06 MB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/1.026, allocations: 34.22 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/1.027, allocations: 431.2 kB / 0.962 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002582/1.029, allocations: 1.155 MB / 0.9631 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/1.031, allocations: 0.7104 MB / 0.9638 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002399/1.033, allocations: 2.01 MB / 0.9658 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/1.035, allocations: 0.8451 MB / 0.9666 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/1.038, allocations: 1.807 MB / 0.9684 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/1.039, allocations: 0.6645 MB / 0.969 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/1.039, allocations: 80.75 kB / 0.9691 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/1.041, allocations: 0.8687 MB / 0.97 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003219/1.041, allocations: 387.3 kB / 0.9703 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004872/1.042, allocations: 0.4967 MB / 0.9708 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/1.043, allocations: 1.511 MB / 0.9723 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.043, allocations: 1.094 kB / 0.9723 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/1.043, allocations: 0 / 0.9723 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.043, allocations: 3 kB / 0.9723 GB, free: 1.629 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.001629/1.045, allocations: 1.268 MB / 0.9735 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.045, allocations: 10.03 kB / 0.9735 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/1.045, allocations: 128.4 kB / 0.9737 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.046, allocations: 220.3 kB / 0.9739 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/1.047, allocations: 0.6871 MB / 0.9745 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.047, allocations: 60.5 kB / 0.9746 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/1.047, allocations: 78.75 kB / 0.9747 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/1.049, allocations: 0.9336 MB / 0.9756 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.049, allocations: 5.469 kB / 0.9756 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/1.049, allocations: 39.08 kB / 0.9756 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/1.049, allocations: 28.92 kB / 0.9757 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/1.049, allocations: 0.6169 MB / 0.9763 GB, free: 16.24 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.003763/1.053, allocations: 4.591 MB / 0.9807 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/1.054, allocations: 0.5479 MB / 0.9813 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/1.054, allocations: 244.5 kB / 0.9815 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/1.054, allocations: 102.2 kB / 0.9816 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.054, allocations: 47.84 kB / 0.9816 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/1.054, allocations: 1.094 kB / 0.9817 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002256/1.057, allocations: 1.616 MB / 0.9832 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.057, allocations: 108.5 kB / 0.9833 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/1.057, allocations: 0.7119 MB / 0.984 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/1.057, allocations: 39.61 kB / 0.9841 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.058, allocations: 423.8 kB / 0.9845 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.058, allocations: 173.6 kB / 0.9846 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/1.058, allocations: 115.2 kB / 0.9847 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.058, allocations: 334.6 kB / 0.9851 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/1.058, allocations: 185.8 kB / 0.9852 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/1.059, allocations: 418.6 kB / 0.9856 GB, free: 10.94 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.001875/1.061, allocations: 1.182 MB / 0.9868 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.061, allocations: 2.594 kB / 0.9868 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007903/1.062, allocations: 0.668 MB / 0.9874 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.062, allocations: 13.09 kB / 0.9875 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.062, allocations: 5.25 kB / 0.9875 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.062, allocations: 15.08 kB / 0.9875 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/1.062, allocations: 128.8 kB / 0.9876 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.062, allocations: 15.66 kB / 0.9876 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/1.062, allocations: 28.92 kB / 0.9876 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/1.063, allocations: 29.44 kB / 0.9877 GB, free: 10.52 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.0002875/1.063, allocations: 271.3 kB / 0.9879 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.063, allocations: 88.17 kB / 0.988 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/1.063, allocations: 95.97 kB / 0.9881 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.063, allocations: 4.688 kB / 0.9881 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.063, allocations: 0.9688 kB / 0.9881 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006381/1.064, allocations: 0.6987 MB / 0.9888 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/1.066, allocations: 1.637 MB / 0.9904 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.066, allocations: 11.77 kB / 0.9904 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/1.066, allocations: 96.11 kB / 0.9905 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.066, allocations: 14.33 kB / 0.9905 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.066, allocations: 13.41 kB / 0.9905 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/1.066, allocations: 11.78 kB / 0.9905 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.066, allocations: 6.125 kB / 0.9905 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/1.067, allocations: 0.8644 MB / 0.9914 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/1.067, allocations: 210 kB / 0.9916 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/1.067, allocations: 21.83 kB / 0.9916 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/1.068, allocations: 18.95 kB / 0.9916 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/1.068, allocations: 36.22 kB / 0.9917 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/1.068, allocations: 23.88 kB / 0.9917 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004771/1.068, allocations: 0.5073 MB / 0.9922 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0.9062 kB / 0.9922 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005864/1.069, allocations: 201.6 kB / 0.9924 GB, free: 8.75 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.001567/1.071, allocations: 1.51 MB / 0.9938 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.071, allocations: 486.3 kB / 0.9943 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.071, allocations: 0 / 0.9943 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/1.071, allocations: 220 kB / 0.9945 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.073, allocations: 480.1 kB / 0.995 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/1.08, allocations: 6.644 MB / 1.001 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/1.081, allocations: 1.024 MB / 1.002 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006908/1.082, allocations: 202.2 kB / 1.003 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/1.082, allocations: 300.6 kB / 1.003 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/1.082, allocations: 0 / 1.003 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04813/1.13, allocations: 22.26 MB / 1.025 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/9.978, allocations: 5.75 kB / 1.025 GB, free: 15.45 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)