Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006755/0.006756, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001387/0.001386, allocations: 197 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6253/0.6253, allocations: 95.47 MB / 365.4 MB, free: 9.793 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 74.09 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1765, allocations: 69.09 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow): time 0.5706/0.7471, allocations: 148 MB / 0.7156 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004998/0.7522, allocations: 3.123 MB / 0.7186 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.7526, allocations: 17.78 kB / 0.7187 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.7534, allocations: 232.2 kB / 0.7189 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.7546, allocations: 0.5184 MB / 0.7194 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.7561, allocations: 0.5682 MB / 0.7199 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.7574, allocations: 1.267 MB / 0.7212 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.758, allocations: 383.2 kB / 0.7215 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.759, allocations: 479.3 kB / 0.722 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.7595, allocations: 378.4 kB / 0.7224 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.7595, allocations: 40 kB / 0.7224 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.7601, allocations: 255.5 kB / 0.7226 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.7603, allocations: 123.6 kB / 0.7228 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.7605, allocations: 254.9 kB / 0.723 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.7614, allocations: 0.7124 MB / 0.7237 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.7614, allocations: 0 / 0.7237 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7614, allocations: 3.938 kB / 0.7237 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.7614, allocations: 0 / 0.7237 GB, free: 2.254 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001022/0.7625, allocations: 0.7557 MB / 0.7244 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7625, allocations: 11.98 kB / 0.7245 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.7628, allocations: 64.36 kB / 0.7245 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.7636, allocations: 455 kB / 0.725 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.7636, allocations: 28.64 kB / 0.725 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.7637, allocations: 28 kB / 0.725 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.7643, allocations: 431.2 kB / 0.7254 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.7643, allocations: 0 / 0.7254 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.7644, allocations: 16 kB / 0.7254 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.7644, allocations: 12 kB / 0.7254 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.7648, allocations: 266 kB / 0.7257 GB, free: 92 kB / 0.5294 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.002389/0.7672, allocations: 2.2 MB / 0.7278 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.7674, allocations: 122.5 kB / 0.728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.7675, allocations: 56.83 kB / 0.728 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.7677, allocations: 174.2 kB / 0.7282 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.7678, allocations: 34.56 kB / 0.7282 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7678, allocations: 192 / 0.7282 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001383/0.7692, allocations: 0.6409 MB / 0.7288 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.7693, allocations: 106.8 kB / 0.7289 GB, free: 12.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.7698, allocations: 481.8 kB / 0.7294 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.7698, allocations: 25.7 kB / 0.7294 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.7701, allocations: 263.3 kB / 0.7297 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.7701, allocations: 51.34 kB / 0.7297 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.7702, allocations: 73.59 kB / 0.7298 GB, free: 11.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7704, allocations: 354.7 kB / 0.7301 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.7705, allocations: 76.58 kB / 0.7302 GB, free: 11.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.7708, allocations: 223 kB / 0.7304 GB, free: 10.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.7711, allocations: 295 kB / 0.7307 GB, free: 10.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7711, allocations: 4 kB / 0.7307 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000506/0.7716, allocations: 357 kB / 0.731 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7717, allocations: 12 kB / 0.7311 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7717, allocations: 8 kB / 0.7311 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.7717, allocations: 4.656 kB / 0.7311 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.772, allocations: 75.89 kB / 0.7311 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.772, allocations: 13.27 kB / 0.7312 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.7722, allocations: 8 kB / 0.7312 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.7723, allocations: 20 kB / 0.7312 GB, free: 10 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (38): * Single equations (assignments): 38 * 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.0001853/0.7725, allocations: 177.7 kB / 0.7314 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.7726, allocations: 43.47 kB / 0.7314 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.7729, allocations: 197.2 kB / 0.7316 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7729, allocations: 0 / 0.7316 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.7729, allocations: 0.875 kB / 0.7316 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7729, allocations: 0 / 0.7316 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.7737, allocations: 0.6317 MB / 0.7322 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7738, allocations: 0 / 0.7322 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.7739, allocations: 27.98 kB / 0.7322 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7739, allocations: 4.031 kB / 0.7322 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.7739, allocations: 5.125 kB / 0.7322 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7739, allocations: 7.938 kB / 0.7322 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7739, allocations: 3.984 kB / 0.7322 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.7744, allocations: 351.6 kB / 0.7326 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.7745, allocations: 112.7 kB / 0.7327 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.7746, allocations: 8 kB / 0.7327 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.7748, allocations: 8.062 kB / 0.7327 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.7748, allocations: 11.98 kB / 0.7327 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.7749, allocations: 11.94 kB / 0.7327 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003487/0.7752, allocations: 335.1 kB / 0.733 GB, free: 7.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7752, allocations: 0 / 0.733 GB, free: 7.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005143/0.7757, allocations: 147.9 kB / 0.7332 GB, free: 7.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.medium.T) * 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 (13): * Single equations (assignments): 13 * 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.0005347/0.7763, allocations: 229.4 kB / 0.7334 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.7767, allocations: 192.6 kB / 0.7336 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7767, allocations: 256 / 0.7336 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.7768, allocations: 71.84 kB / 0.7337 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.778, allocations: 279.3 kB / 0.7339 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.7795, allocations: 0.7318 MB / 0.7346 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.7799, allocations: 0.8192 MB / 0.7354 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.7802, allocations: 96.39 kB / 0.7355 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.7803, allocations: 39.42 kB / 0.7356 GB, free: 5.359 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.7803, allocations: 0 / 0.7356 GB, free: 5.359 MB / 0.545 GB Notification: Performance of Templates: time 0.01526/0.7956, allocations: 8.931 MB / 0.7443 GB, free: 12.53 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe 2>&1)