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.001227/0.001227, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001358/0.001358, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002365/0.002365, allocations: 289.9 kB / 313.5 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.149/1.149, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.002605/0.002605, allocations: 90.27 kB / 0.7403 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1712, allocations: 95.39 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5806/0.7519, allocations: 174.4 MB / 1.004 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.7572, allocations: 3.409 MB / 1.007 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.7579, allocations: 37.69 kB / 1.007 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.7589, allocations: 333.4 kB / 1.008 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.7614, allocations: 1.071 MB / 1.009 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.7631, allocations: 0.6963 MB / 1.009 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.7654, allocations: 1.573 MB / 1.011 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006137/0.766, allocations: 367.8 kB / 1.011 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/0.767, allocations: 0.6091 MB / 1.012 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.768, allocations: 0.4918 MB / 1.012 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.7681, allocations: 54.22 kB / 1.012 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.7697, allocations: 0.9033 MB / 1.013 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.7699, allocations: 248.3 kB / 1.013 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.7702, allocations: 337.3 kB / 1.014 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.7716, allocations: 1.144 MB / 1.015 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7716, allocations: 2.062 kB / 1.015 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7716, allocations: 0 / 1.015 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7716, allocations: 0.9375 kB / 1.015 GB, free: 3.211 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001424/0.773, allocations: 0.8525 MB / 1.016 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7731, allocations: 10.75 kB / 1.016 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.175e-05/0.7731, allocations: 11.28 kB / 1.016 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.026e-05/0.7732, allocations: 90.62 kB / 1.016 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7743, allocations: 177.1 kB / 1.016 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.7751, allocations: 467.3 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.7751, allocations: 32.72 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.7752, allocations: 42.72 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.776, allocations: 481 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.776, allocations: 2.531 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.776, allocations: 19.19 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.7761, allocations: 14.94 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.7767, allocations: 414.7 kB / 1.017 GB, free: 18.39 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.002339/0.779, allocations: 1.692 MB / 1.019 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.7794, allocations: 283.4 kB / 1.019 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.7796, allocations: 171.2 kB / 1.019 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.7798, allocations: 23.22 kB / 1.019 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7798, allocations: 43.7 kB / 1.019 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.7798, allocations: 0 / 1.019 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001694/0.7815, allocations: 0.9983 MB / 1.02 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.7815, allocations: 55.41 kB / 1.021 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.782, allocations: 455.8 kB / 1.021 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.782, allocations: 32.36 kB / 1.021 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.7822, allocations: 261.6 kB / 1.021 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.7823, allocations: 121.1 kB / 1.021 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7824, allocations: 71.23 kB / 1.021 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7826, allocations: 357.8 kB / 1.022 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.7828, allocations: 126.8 kB / 1.022 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.783, allocations: 201 kB / 1.022 GB, free: 16.49 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.7847, allocations: 0.7849 MB / 1.023 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7847, allocations: 0.9375 kB / 1.023 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005587/0.7853, allocations: 419.8 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7853, allocations: 6.812 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7853, allocations: 1.906 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7853, allocations: 3.219 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.7856, allocations: 76.7 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.7856, allocations: 3.375 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.7859, allocations: 15.55 kB / 1.023 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7859, allocations: 11.86 kB / 1.023 GB, free: 16.36 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: 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.0002381/0.7862, allocations: 213 kB / 1.024 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.7863, allocations: 55.7 kB / 1.024 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.7864, allocations: 62.73 kB / 1.024 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7864, allocations: 3.188 kB / 1.024 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7864, allocations: 0.8125 kB / 1.024 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004303/0.7868, allocations: 405.7 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.7883, allocations: 1.22 MB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.7883, allocations: 10.09 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.7886, allocations: 73.14 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.7886, allocations: 6.062 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.7886, allocations: 10.5 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.7886, allocations: 13.58 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.7886, allocations: 5.281 kB / 1.025 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.7893, allocations: 0.7026 MB / 1.026 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.7895, allocations: 93.48 kB / 1.026 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.7896, allocations: 10.16 kB / 1.026 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.79, allocations: 19.86 kB / 1.026 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.79, allocations: 41.7 kB / 1.026 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.79, allocations: 21.06 kB / 1.026 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002979/0.7903, allocations: 329 kB / 1.027 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7903, allocations: 0 / 1.027 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000535/0.7909, allocations: 145.3 kB / 1.027 GB, free: 15.22 MB / 0.7325 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.001139/0.792, allocations: 1.289 MB / 1.028 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.7925, allocations: 317.5 kB / 1.028 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7925, allocations: 0.9688 kB / 1.028 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.7926, allocations: 163 kB / 1.028 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7942, allocations: 369.9 kB / 1.029 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.7988, allocations: 4.427 MB / 1.033 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.7993, allocations: 0.8873 MB / 1.034 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.7997, allocations: 144.7 kB / 1.034 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.7999, allocations: 165.1 kB / 1.034 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7999, allocations: 7.25 kB / 1.034 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.839, allocations: 15.92 MB / 1.05 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.03, allocations: 10.84 kB / 1.05 GB, free: 8.121 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 15.98152262304211] Failed to read output from testmodel.py, exit status != 0: 12.191526664013509 12.205123261 11.43056236 Calling exit ...