Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 218.5 kB / 22.26 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002522/0.002522, allocations: 291 kB / 312.7 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.168/1.168, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 103.1 kB / 0.7396 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1662, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6131/0.7793, allocations: 194.3 MB / 1.022 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008558/0.7878, allocations: 5.718 MB / 1.028 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.7895, allocations: 57.34 kB / 1.028 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.7911, allocations: 0.591 MB / 1.029 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.7956, allocations: 1.706 MB / 1.03 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.7988, allocations: 1.245 MB / 1.032 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003431/0.8023, allocations: 2.58 MB / 1.034 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.8032, allocations: 0.7092 MB / 1.035 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.8051, allocations: 1.097 MB / 1.036 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.8069, allocations: 0.886 MB / 1.037 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.807, allocations: 100.8 kB / 1.037 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.8099, allocations: 1.624 MB / 1.038 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.8103, allocations: 0.495 MB / 1.039 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.8109, allocations: 0.6286 MB / 1.039 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.8136, allocations: 2.107 MB / 1.042 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8136, allocations: 0.9062 kB / 1.042 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8136, allocations: 0 / 1.042 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.8136, allocations: 0.8438 kB / 1.042 GB, free: 2.301 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002223/0.8159, allocations: 1.444 MB / 1.043 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8159, allocations: 10 kB / 1.043 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.816, allocations: 141.3 kB / 1.043 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.8178, allocations: 336.7 kB / 1.043 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.8191, allocations: 0.7429 MB / 1.044 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.8191, allocations: 66.31 kB / 1.044 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8192, allocations: 83.03 kB / 1.044 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.8208, allocations: 1.07 MB / 1.045 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.8208, allocations: 3.938 kB / 1.045 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.8209, allocations: 42.69 kB / 1.045 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.8209, allocations: 35.06 kB / 1.045 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.8222, allocations: 0.832 MB / 1.046 GB, free: 17.03 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.005222/0.8274, allocations: 4.204 MB / 1.05 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.8279, allocations: 353 kB / 1.051 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.8282, allocations: 207.8 kB / 1.051 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.8283, allocations: 27.48 kB / 1.051 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.8283, allocations: 40.28 kB / 1.051 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.8283, allocations: 2.312 kB / 1.051 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002254/0.8306, allocations: 1.268 MB / 1.052 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.8306, allocations: 61.38 kB / 1.052 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.8318, allocations: 1.001 MB / 1.053 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.8318, allocations: 37.52 kB / 1.053 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.8321, allocations: 0.4976 MB / 1.054 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.8322, allocations: 145.4 kB / 1.054 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8324, allocations: 123.5 kB / 1.054 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8325, allocations: 331.8 kB / 1.054 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.8329, allocations: 234.4 kB / 1.055 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.8335, allocations: 426.5 kB / 1.055 GB, free: 12.93 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.8357, allocations: 1.145 MB / 1.056 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8357, allocations: 4.969 kB / 1.056 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001276/0.837, allocations: 0.7746 MB / 1.057 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.837, allocations: 8.875 kB / 1.057 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.837, allocations: 9.562 kB / 1.057 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.837, allocations: 14.28 kB / 1.057 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.8376, allocations: 145.4 kB / 1.057 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.8376, allocations: 8.594 kB / 1.057 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.8385, allocations: 57.44 kB / 1.057 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.8385, allocations: 29.12 kB / 1.057 GB, free: 12.11 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0005179/0.839, allocations: 315.6 kB / 1.057 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.8392, allocations: 100.2 kB / 1.057 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.8394, allocations: 105.5 kB / 1.058 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.8394, allocations: 7.188 kB / 1.058 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.8394, allocations: 4.469 kB / 1.058 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007149/0.8401, allocations: 0.676 MB / 1.058 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.8424, allocations: 1.55 MB / 1.06 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8424, allocations: 3.594 kB / 1.06 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.8428, allocations: 88.44 kB / 1.06 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8428, allocations: 5.625 kB / 1.06 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.8428, allocations: 14.62 kB / 1.06 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.8428, allocations: 8.719 kB / 1.06 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8428, allocations: 9.5 kB / 1.06 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8439, allocations: 0.836 MB / 1.061 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.8443, allocations: 168.3 kB / 1.061 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.8444, allocations: 13.83 kB / 1.061 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.845, allocations: 35.77 kB / 1.061 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.8451, allocations: 39.77 kB / 1.061 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.8451, allocations: 30.17 kB / 1.061 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001018/0.8462, allocations: 0.7041 MB / 1.062 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.8462, allocations: 0 / 1.062 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007727/0.8469, allocations: 257.8 kB / 1.062 GB, free: 9.523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (38): * Single equations (assignments): 38 * 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.001539/0.8485, allocations: 1.473 MB / 1.063 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009037/0.8494, allocations: 486.8 kB / 1.064 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8494, allocations: 3.469 kB / 1.064 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.8496, allocations: 192.8 kB / 1.064 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.852, allocations: 0.6203 MB / 1.065 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/0.862, allocations: 7.638 MB / 1.072 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.8627, allocations: 1.095 MB / 1.073 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009245/0.8636, allocations: 261.2 kB / 1.073 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.8641, allocations: 342.3 kB / 1.074 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.8641, allocations: 0 / 1.074 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06558/0.9297, allocations: 28.48 MB / 1.102 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.42, allocations: 0 / 1.102 GB, free: 8.289 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.409244542002853] Failed to read output from testmodel.py, exit status != 0: 12.55346797799939 12.568507016 11.751872972 Calling exit ...