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.001275/0.001275, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001442/0.001442, allocations: 213 kB / 22.24 MB, free: 5.258 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.777 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.00247/0.00247, allocations: 295.5 kB / 312.7 MB, free: 2.586 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.14/1.14, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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="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: 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.002788/0.002788, allocations: 104.5 kB / 0.7395 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1866/0.3473, allocations: 150.7 MB / 0.9798 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3954/0.7427, allocations: 3.188 MB / 0.9829 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.7435, allocations: 34.69 kB / 0.9829 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.7444, allocations: 304.8 kB / 0.9832 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.7467, allocations: 1.052 MB / 0.9842 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.7483, allocations: 0.6854 MB / 0.9849 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.7504, allocations: 1.551 MB / 0.9864 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.751, allocations: 371.1 kB / 0.9868 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.752, allocations: 0.609 MB / 0.9874 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.7531, allocations: 487.9 kB / 0.9878 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.7532, allocations: 54.75 kB / 0.9879 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.7546, allocations: 0.6974 MB / 0.9886 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.7549, allocations: 245.2 kB / 0.9888 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.7552, allocations: 277.7 kB / 0.9891 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.7565, allocations: 1.121 MB / 0.9902 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7565, allocations: 3.75 kB / 0.9902 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7565, allocations: 1.203 kB / 0.9902 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.7565, allocations: 0.6875 kB / 0.9902 GB, free: 3.539 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.001475/0.758, allocations: 0.8556 MB / 0.991 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7581, allocations: 9.188 kB / 0.991 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.7582, allocations: 83.91 kB / 0.9911 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.7592, allocations: 178.9 kB / 0.9913 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.7601, allocations: 469.2 kB / 0.9917 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.7601, allocations: 33.69 kB / 0.9917 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.7602, allocations: 41.84 kB / 0.9918 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/0.7611, allocations: 0.7191 MB / 0.9925 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.7612, allocations: 0 / 0.9925 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.7612, allocations: 18.75 kB / 0.9925 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.7612, allocations: 18.09 kB / 0.9925 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.7618, allocations: 412.2 kB / 0.9929 GB, free: 18.44 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.002336/0.7641, allocations: 1.234 MB / 0.9941 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.7646, allocations: 282.5 kB / 0.9944 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.7649, allocations: 173.8 kB / 0.9946 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.7651, allocations: 21.97 kB / 0.9946 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.7651, allocations: 38.8 kB / 0.9946 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.7651, allocations: 1.031 kB / 0.9946 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.00215/0.7673, allocations: 0.9971 MB / 0.9956 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7673, allocations: 56 kB / 0.9956 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.768, allocations: 453.5 kB / 0.9961 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.768, allocations: 35.67 kB / 0.9961 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.7682, allocations: 262.4 kB / 0.9964 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.7683, allocations: 122.1 kB / 0.9965 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.7684, allocations: 66.58 kB / 0.9965 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.7686, allocations: 356.8 kB / 0.9969 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.7688, allocations: 129.9 kB / 0.997 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.7692, allocations: 251 kB / 0.9972 GB, free: 16.89 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.002083/0.7713, allocations: 0.7817 MB / 0.998 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7713, allocations: 1.906 kB / 0.998 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007459/0.772, allocations: 425.4 kB / 0.9984 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.772, allocations: 5.625 kB / 0.9984 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.772, allocations: 2.312 kB / 0.9984 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7721, allocations: 4.453 kB / 0.9984 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.7724, allocations: 72.88 kB / 0.9985 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7724, allocations: 7.922 kB / 0.9985 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.7727, allocations: 11.28 kB / 0.9985 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.7728, allocations: 15.92 kB / 0.9985 GB, free: 16.76 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.0002979/0.7731, allocations: 210 kB / 0.9987 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.7732, allocations: 57.92 kB / 0.9988 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.7733, allocations: 61.95 kB / 0.9988 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.7733, allocations: 4.406 kB / 0.9988 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.7733, allocations: 0.5 kB / 0.9988 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006067/0.774, allocations: 402.9 kB / 0.9992 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.7757, allocations: 1.138 MB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.7757, allocations: 4.5 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.7761, allocations: 80.02 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.7761, allocations: 6.812 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.7761, allocations: 11.41 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.7761, allocations: 6.594 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.7761, allocations: 10.83 kB / 1 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.7769, allocations: 0.7045 MB / 1.001 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.7771, allocations: 100.6 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.7772, allocations: 9.688 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.7776, allocations: 27.72 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.7776, allocations: 34.25 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.7777, allocations: 25.09 kB / 1.001 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003422/0.778, allocations: 330.2 kB / 1.002 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.778, allocations: 0 / 1.002 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000523/0.7785, allocations: 140 kB / 1.002 GB, free: 15.62 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.001269/0.7798, allocations: 1.286 MB / 1.003 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.7803, allocations: 326.9 kB / 1.003 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7803, allocations: 1.25 kB / 1.003 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.7805, allocations: 162.5 kB / 1.004 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.7821, allocations: 365.4 kB / 1.004 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.7868, allocations: 4.423 MB / 1.008 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.7871, allocations: 281.8 kB / 1.008 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004408/0.7875, allocations: 140.8 kB / 1.009 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7878, allocations: 167.7 kB / 1.009 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.7878, allocations: 1 kB / 1.009 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.8355, allocations: 17.4 MB / 1.026 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.73, allocations: 6.75 kB / 1.026 GB, free: 10.71 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.588606708683074] Failed to read output from testmodel.py, exit status != 0: 11.844193121884018 11.855514995 11.096539305 Calling exit ...