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.005674/0.005674, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001159/0.00116, allocations: 198.8 kB / 16.68 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002264/0.002264, allocations: 288.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.3 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 103.8 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.397, allocations: 86.98 MB / 0.7664 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1728/0.5698, allocations: 170.8 MB / 0.9332 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005529/0.5754, allocations: 3.376 MB / 0.9365 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008216/0.5763, allocations: 19.88 kB / 0.9365 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5773, allocations: 314 kB / 0.9368 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.5798, allocations: 1.023 MB / 0.9378 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.5816, allocations: 0.6668 MB / 0.9384 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001909/0.5835, allocations: 1.524 MB / 0.9399 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.5843, allocations: 485.4 kB / 0.9404 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5854, allocations: 0.5823 MB / 0.9409 GB, free: 348 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.5867, allocations: 467.3 kB / 0.9414 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.5869, allocations: 56 kB / 0.9414 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.5887, allocations: 0.8224 MB / 0.9423 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.5891, allocations: 247.3 kB / 0.9425 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.5897, allocations: 330.5 kB / 0.9428 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.5915, allocations: 1.137 MB / 0.9439 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5916, allocations: 0 / 0.9439 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5916, allocations: 4 kB / 0.9439 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.5916, allocations: 4 kB / 0.9439 GB, free: 13.29 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.001788/0.5934, allocations: 0.9077 MB / 0.9448 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5935, allocations: 8.031 kB / 0.9448 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.5948, allocations: 179 kB / 0.945 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.5956, allocations: 0.5208 MB / 0.9455 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5957, allocations: 33 kB / 0.9455 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.5958, allocations: 40 kB / 0.9456 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.5965, allocations: 478.3 kB / 0.946 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5966, allocations: 0 / 0.946 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.5966, allocations: 27.98 kB / 0.946 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.5967, allocations: 13 kB / 0.9461 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.5974, allocations: 411.7 kB / 0.9465 GB, free: 10.61 MB / 0.7169 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.002779/0.6002, allocations: 1.728 MB / 0.9481 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.6007, allocations: 298.6 kB / 0.9484 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.6009, allocations: 180.7 kB / 0.9486 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.6011, allocations: 101.1 kB / 0.9487 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.6012, allocations: 50.44 kB / 0.9487 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.6012, allocations: 0 / 0.9487 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001994/0.6032, allocations: 1.045 MB / 0.9498 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.6032, allocations: 59.39 kB / 0.9498 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.6037, allocations: 453.8 kB / 0.9503 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.6038, allocations: 29.7 kB / 0.9503 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.604, allocations: 260.1 kB / 0.9505 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.6041, allocations: 118.4 kB / 0.9506 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.6042, allocations: 73.55 kB / 0.9507 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6044, allocations: 358.8 kB / 0.9511 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.6046, allocations: 123.9 kB / 0.9512 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.6048, allocations: 190.6 kB / 0.9514 GB, free: 5.293 MB / 0.7169 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.001865/0.6067, allocations: 0.8681 MB / 0.9522 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6067, allocations: 4 kB / 0.9522 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006067/0.6073, allocations: 413.9 kB / 0.9526 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6073, allocations: 4 kB / 0.9526 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6074, allocations: 0 / 0.9526 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6074, allocations: 4 kB / 0.9526 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.6077, allocations: 71.84 kB / 0.9527 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6077, allocations: 4 kB / 0.9527 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.6081, allocations: 16.19 kB / 0.9527 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.6082, allocations: 12 kB / 0.9527 GB, free: 3.863 MB / 0.7169 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.0002704/0.6085, allocations: 216.6 kB / 0.9529 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6086, allocations: 59.36 kB / 0.953 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6087, allocations: 56.77 kB / 0.953 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6087, allocations: 7.938 kB / 0.953 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6087, allocations: 4 kB / 0.953 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004981/0.6092, allocations: 417 kB / 0.9534 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.611, allocations: 1.244 MB / 0.9546 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.611, allocations: 4 kB / 0.9546 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.6114, allocations: 71.91 kB / 0.9547 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.6114, allocations: 12.48 kB / 0.9547 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.6114, allocations: 12 kB / 0.9547 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.6115, allocations: 11.94 kB / 0.9548 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6115, allocations: 4 kB / 0.9548 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.6123, allocations: 0.7112 MB / 0.9555 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.6125, allocations: 168.5 kB / 0.9556 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.6126, allocations: 12 kB / 0.9556 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.613, allocations: 16.92 kB / 0.9556 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.6131, allocations: 27.98 kB / 0.9557 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.6131, allocations: 23.98 kB / 0.9557 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003423/0.6135, allocations: 331 kB / 0.956 GB, free: 268 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6135, allocations: 4 kB / 0.956 GB, free: 264 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000574/0.6141, allocations: 140 kB / 0.9561 GB, free: 124 kB / 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.3393/0.9533, allocations: 156.8 kB / 0.9563 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.9544, allocations: 331.7 kB / 0.9566 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.9544, allocations: 1.719 kB / 0.9566 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.9548, allocations: 158.5 kB / 0.9568 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.9568, allocations: 375 kB / 0.9571 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.9588, allocations: 1.109 MB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.9593, allocations: 0.884 MB / 0.9591 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005417/0.9598, allocations: 132.7 kB / 0.9592 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.96, allocations: 42.38 kB / 0.9592 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.96, allocations: 4.438 kB / 0.9592 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.01668/0.9767, allocations: 11.13 MB / 0.9701 GB, free: 185.4 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)