Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0008226/0.0008226, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.001003/0.001003, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 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 0.8736/0.8736, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001522/0.001522, allocations: 248 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6778/0.6778, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.173e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3624/0.3624, allocations: 150.6 MB / 0.7934 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004332/0.3667, allocations: 3.203 MB / 0.7965 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005913/0.3673, allocations: 31.69 kB / 0.7965 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/0.3681, allocations: 310 kB / 0.7968 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3701, allocations: 1.08 MB / 0.7979 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3715, allocations: 0.6975 MB / 0.7985 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.373, allocations: 1.575 MB / 0.8001 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.3736, allocations: 366 kB / 0.8004 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.3746, allocations: 0.7711 MB / 0.8012 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.3754, allocations: 445.1 kB / 0.8016 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.3755, allocations: 56 kB / 0.8017 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3766, allocations: 0.7087 MB / 0.8024 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3767, allocations: 259.2 kB / 0.8026 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.377, allocations: 239.5 kB / 0.8028 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3785, allocations: 1.154 MB / 0.804 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3785, allocations: 0 / 0.804 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3785, allocations: 0 / 0.804 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3786, allocations: 4 kB / 0.804 GB, free: 9.559 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001057/0.3796, allocations: 0.8532 MB / 0.8048 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3797, allocations: 9.938 kB / 0.8048 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.57e-05/0.3797, allocations: 90.45 kB / 0.8049 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006929/0.3804, allocations: 180.1 kB / 0.8051 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.381, allocations: 462.6 kB / 0.8055 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.381, allocations: 37 kB / 0.8055 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.3811, allocations: 43.94 kB / 0.8056 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.3817, allocations: 0.7181 MB / 0.8063 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3817, allocations: 7.938 kB / 0.8063 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3817, allocations: 23.84 kB / 0.8063 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.3818, allocations: 17 kB / 0.8063 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.3822, allocations: 407.7 kB / 0.8067 GB, free: 6.613 MB / 0.6355 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.00152/0.3837, allocations: 1.232 MB / 0.8079 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.384, allocations: 279.2 kB / 0.8082 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3842, allocations: 168.8 kB / 0.8083 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3843, allocations: 31.92 kB / 0.8084 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3843, allocations: 38.56 kB / 0.8084 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.3843, allocations: 0 / 0.8084 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.00136/0.3857, allocations: 0.9854 MB / 0.8094 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3857, allocations: 55.41 kB / 0.8094 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.3861, allocations: 461.8 kB / 0.8099 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3861, allocations: 29.7 kB / 0.8099 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3862, allocations: 264.4 kB / 0.8102 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.3863, allocations: 123 kB / 0.8103 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.3864, allocations: 68.94 kB / 0.8103 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3865, allocations: 358.8 kB / 0.8107 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3867, allocations: 125.3 kB / 0.8108 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3869, allocations: 245.3 kB / 0.811 GB, free: 2.023 MB / 0.6355 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.388, allocations: 0.7933 MB / 0.8118 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3881, allocations: 0 / 0.8118 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004131/0.3885, allocations: 413 kB / 0.8122 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3885, allocations: 12.72 kB / 0.8122 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3885, allocations: 3.938 kB / 0.8122 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3885, allocations: 7.984 kB / 0.8122 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3887, allocations: 67.86 kB / 0.8123 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3887, allocations: 12.17 kB / 0.8123 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3889, allocations: 12 kB / 0.8123 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3889, allocations: 14.25 kB / 0.8123 GB, free: 0.6758 MB / 0.6355 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001918/0.3891, allocations: 206.9 kB / 0.8125 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3892, allocations: 59.61 kB / 0.8126 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.3892, allocations: 60.75 kB / 0.8126 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3892, allocations: 4 kB / 0.8126 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3892, allocations: 0 / 0.8126 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003372/0.3896, allocations: 408.3 kB / 0.813 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3908, allocations: 1.135 MB / 0.8141 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3908, allocations: 7.984 kB / 0.8141 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.391, allocations: 72.41 kB / 0.8142 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.391, allocations: 14.56 kB / 0.8142 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.391, allocations: 16 kB / 0.8142 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.391, allocations: 7.938 kB / 0.8143 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.391, allocations: 4 kB / 0.8143 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.3916, allocations: 0.7039 MB / 0.8149 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3918, allocations: 95.56 kB / 0.815 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3918, allocations: 16 kB / 0.815 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.392, allocations: 21.17 kB / 0.8151 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.3921, allocations: 31.89 kB / 0.8151 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.3921, allocations: 23.94 kB / 0.8151 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002516/0.3923, allocations: 331.1 kB / 0.8154 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.3923, allocations: 0 / 0.8154 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000385/0.3927, allocations: 143.9 kB / 0.8156 GB, free: 13.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001128/0.3939, allocations: 1.279 MB / 0.8168 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.3942, allocations: 328.4 kB / 0.8171 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3942, allocations: 0 / 0.8171 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3944, allocations: 155.7 kB / 0.8173 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.3954, allocations: 374.3 kB / 0.8176 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.3994, allocations: 4.354 MB / 0.8219 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3996, allocations: 284.8 kB / 0.8222 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003714/0.4, allocations: 140.7 kB / 0.8223 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.4001, allocations: 164.5 kB / 0.8225 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/0.4002, allocations: 3.938 kB / 0.8225 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.4295, allocations: 17.43 MB / 0.8395 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.545, allocations: 6.875 kB / 0.8395 GB, free: 4.898 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_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_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202281061559916] Failed to read output from testmodel.py, exit status != 0: 7.633040274493396 7.640532345 7.260075667 Calling exit ...