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.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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005942/0.005942, allocations: 99.66 kB / 15.73 MB, free: 6.051 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.001149/0.001149, allocations: 198.9 kB / 16.68 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 273.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 99.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5279/0.689, allocations: 170.8 MB / 0.9332 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005221/0.6942, allocations: 3.385 MB / 0.9365 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.6949, allocations: 19.88 kB / 0.9365 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.6958, allocations: 314.1 kB / 0.9368 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.6982, allocations: 1.019 MB / 0.9378 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.6999, allocations: 0.6655 MB / 0.9384 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.7017, allocations: 1.529 MB / 0.9399 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.7023, allocations: 474.1 kB / 0.9404 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.7033, allocations: 0.5707 MB / 0.9409 GB, free: 96 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009651/0.7042, allocations: 468.1 kB / 0.9414 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.7044, allocations: 60 kB / 0.9414 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.7059, allocations: 0.8377 MB / 0.9422 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.7062, allocations: 247.4 kB / 0.9425 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.7066, allocations: 334.5 kB / 0.9428 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.7081, allocations: 1.133 MB / 0.9439 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7081, allocations: 0 / 0.9439 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7082, allocations: 0 / 0.9439 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7082, allocations: 0 / 0.9439 GB, free: 13.04 MB / 0.7012 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.00137/0.7095, allocations: 0.9199 MB / 0.9448 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7096, allocations: 8.031 kB / 0.9448 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.7108, allocations: 175.2 kB / 0.945 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.7116, allocations: 0.5208 MB / 0.9455 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.7116, allocations: 36.94 kB / 0.9455 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.7117, allocations: 40 kB / 0.9456 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.7124, allocations: 474.4 kB / 0.946 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.7125, allocations: 0 / 0.946 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.7125, allocations: 16 kB / 0.946 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.7125, allocations: 17 kB / 0.946 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.7132, allocations: 419.7 kB / 0.9464 GB, free: 10.34 MB / 0.7012 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.002391/0.7156, allocations: 1.732 MB / 0.9481 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.716, allocations: 292.7 kB / 0.9484 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.7163, allocations: 191.8 kB / 0.9486 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.7165, allocations: 97.08 kB / 0.9487 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.7165, allocations: 42.5 kB / 0.9487 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 1.572e-06/0.7165, allocations: 0 / 0.9487 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.001937/0.7185, allocations: 1.053 MB / 0.9498 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.7185, allocations: 55.41 kB / 0.9498 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.719, allocations: 453.9 kB / 0.9502 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.7191, allocations: 33.7 kB / 0.9503 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.7193, allocations: 252.1 kB / 0.9505 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.7194, allocations: 118.3 kB / 0.9506 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.7195, allocations: 69.69 kB / 0.9507 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7196, allocations: 358.8 kB / 0.951 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.7198, allocations: 123.9 kB / 0.9512 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.7201, allocations: 193.9 kB / 0.9513 GB, free: 5.035 MB / 0.7012 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.001824/0.7219, allocations: 0.8637 MB / 0.9522 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7219, allocations: 0 / 0.9522 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005886/0.7225, allocations: 416.8 kB / 0.9526 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7226, allocations: 12.03 kB / 0.9526 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7226, allocations: 3.938 kB / 0.9526 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7226, allocations: 4 kB / 0.9526 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.7229, allocations: 75.89 kB / 0.9527 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.7229, allocations: 7.984 kB / 0.9527 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.7233, allocations: 11.94 kB / 0.9527 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.7233, allocations: 16 kB / 0.9527 GB, free: 3.59 MB / 0.7012 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.0002492/0.7236, allocations: 206.9 kB / 0.9529 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.7237, allocations: 59.38 kB / 0.953 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.7238, allocations: 56.75 kB / 0.953 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7238, allocations: 4 kB / 0.953 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7238, allocations: 0 / 0.953 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005039/0.7244, allocations: 420.2 kB / 0.9534 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.7261, allocations: 1.245 MB / 0.9546 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.7261, allocations: 7.938 kB / 0.9546 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.7264, allocations: 71.84 kB / 0.9547 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7264, allocations: 8 kB / 0.9547 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.7265, allocations: 8 kB / 0.9547 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.7265, allocations: 8 kB / 0.9547 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.7265, allocations: 7.984 kB / 0.9547 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.7274, allocations: 0.7077 MB / 0.9554 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.7276, allocations: 164.5 kB / 0.9556 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.7277, allocations: 12.06 kB / 0.9556 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.728, allocations: 25.61 kB / 0.9556 GB, free: 384 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.7281, allocations: 31.84 kB / 0.9557 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.7282, allocations: 19.98 kB / 0.9557 GB, free: 332 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003332/0.7285, allocations: 327.1 kB / 0.956 GB, free: 8 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7285, allocations: 0 / 0.956 GB, free: 8 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005247/0.729, allocations: 148 kB / 0.9561 GB, free: 15.86 MB / 0.7169 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.0003938/0.7294, allocations: 168.6 kB / 0.9563 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.73, allocations: 331.5 kB / 0.9566 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.73, allocations: 3.938 kB / 0.9566 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.7302, allocations: 164.1 kB / 0.9568 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7318, allocations: 364.1 kB / 0.9571 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.7334, allocations: 1.115 MB / 0.9582 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.7339, allocations: 0.8822 MB / 0.9591 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003988/0.7343, allocations: 140.6 kB / 0.9592 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.7344, allocations: 43.44 kB / 0.9592 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of SimCode: time 5.82e-07/0.7344, allocations: 3.938 kB / 0.9592 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.01992/0.7543, allocations: 11.31 MB / 0.9703 GB, free: 1.48 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)