Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 190.8 kB / 499.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 97.81 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 50.89 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2887, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2033/0.492, allocations: 196.1 MB / 1.41 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008651/0.5007, allocations: 5.207 MB / 1.415 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5021, allocations: 31.75 kB / 1.415 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.5036, allocations: 0.4933 MB / 1.415 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.5077, allocations: 1.747 MB / 1.417 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.5119, allocations: 1.513 MB / 1.418 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.5159, allocations: 3.544 MB / 1.422 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.5176, allocations: 1.242 MB / 1.423 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.5193, allocations: 1.082 MB / 1.424 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.5205, allocations: 1.113 MB / 1.425 GB, free: 356 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.5207, allocations: 88 kB / 1.425 GB, free: 268 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6311/1.152, allocations: 1.51 MB / 1.427 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/1.153, allocations: 450.9 kB / 1.427 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.154, allocations: 0.7444 MB / 1.428 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/1.158, allocations: 2.517 MB / 1.43 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.158, allocations: 1.281 kB / 1.43 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/1.158, allocations: 0.625 kB / 1.43 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.971e-05/1.158, allocations: 0 / 1.43 GB, free: 6.25 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006143/1.164, allocations: 2.128 MB / 1.432 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/1.164, allocations: 12.8 kB / 1.432 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/1.165, allocations: 229.7 kB / 1.433 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/1.168, allocations: 1.313 MB / 1.434 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/1.168, allocations: 68.72 kB / 1.434 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/1.168, allocations: 74.47 kB / 1.434 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.17, allocations: 0.8078 MB / 1.435 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.17, allocations: 0 / 1.435 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/1.17, allocations: 26.12 kB / 1.435 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/1.17, allocations: 25.72 kB / 1.435 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/1.172, allocations: 0.8427 MB / 1.436 GB, free: 4.816 MB / 0.9167 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.00663/1.179, allocations: 3.452 MB / 1.439 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.18, allocations: 0.7332 MB / 1.44 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/1.181, allocations: 442.8 kB / 1.44 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/1.182, allocations: 290.9 kB / 1.441 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.182, allocations: 37.81 kB / 1.441 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/1.183, allocations: 239.2 kB / 1.441 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 4.95e-06/1.183, allocations: 0 / 1.441 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of matching and sorting (n=53): time 0.003413/1.186, allocations: 1.305 MB / 1.442 GB, free: 19.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.186, allocations: 61.52 kB / 1.442 GB, free: 19.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.189, allocations: 1.63 MB / 1.444 GB, free: 19.01 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.19, allocations: 42.27 kB / 1.444 GB, free: 18.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/1.19, allocations: 0.5331 MB / 1.444 GB, free: 18.84 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.19, allocations: 184.7 kB / 1.444 GB, free: 18.72 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/1.191, allocations: 151.3 kB / 1.445 GB, free: 18.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.191, allocations: 323.9 kB / 1.445 GB, free: 18.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/1.191, allocations: 354.3 kB / 1.445 GB, free: 18.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.192, allocations: 0.6232 MB / 1.446 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/1.194, allocations: 0.7706 MB / 1.447 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.194, allocations: 0 / 1.447 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002245/1.196, allocations: 0.9642 MB / 1.448 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.196, allocations: 4.969 kB / 1.448 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.196, allocations: 1.094 kB / 1.448 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.196, allocations: 6.672 kB / 1.448 GB, free: 17.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/1.197, allocations: 165.7 kB / 1.448 GB, free: 17.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.197, allocations: 6.172 kB / 1.448 GB, free: 17.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.199, allocations: 138.2 kB / 1.448 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/1.199, allocations: 34.89 kB / 1.448 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/1.2, allocations: 0.5766 MB / 1.448 GB, free: 17.88 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00091/1.201, allocations: 0.6215 MB / 1.449 GB, free: 17.59 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/1.203, allocations: 0.7686 MB / 1.45 GB, free: 17.56 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/1.203, allocations: 0 / 1.45 GB, free: 17.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002057/1.205, allocations: 0.9539 MB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.205, allocations: 8.781 kB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/1.205, allocations: 1.281 kB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/1.205, allocations: 2.906 kB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/1.206, allocations: 162.2 kB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.206, allocations: 6.656 kB / 1.451 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.208, allocations: 185.1 kB / 1.451 GB, free: 17.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/1.208, allocations: 31.73 kB / 1.451 GB, free: 17.43 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 57 * 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.000299/1.208, allocations: 211.9 kB / 1.451 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/1.208, allocations: 127.8 kB / 1.451 GB, free: 17.19 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.211, allocations: 1.032 MB / 1.452 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.211, allocations: 12.25 kB / 1.452 GB, free: 17.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.211, allocations: 4 kB / 1.453 GB, free: 17.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.211, allocations: 3.094 kB / 1.453 GB, free: 17.09 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.004524/1.215, allocations: 2.463 MB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.215, allocations: 6.719 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.216, allocations: 127.8 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.216, allocations: 5.344 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/1.216, allocations: 21.92 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.216, allocations: 9.188 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.216, allocations: 4.75 kB / 1.455 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007173/1.223, allocations: 4.562 MB / 1.46 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/1.224, allocations: 348.9 kB / 1.46 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/1.224, allocations: 19.16 kB / 1.46 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.225, allocations: 100.2 kB / 1.46 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.225, allocations: 40.05 kB / 1.46 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/1.225, allocations: 26.58 kB / 1.46 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00188/1.227, allocations: 1.18 MB / 1.461 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/1.227, allocations: 0 / 1.461 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002421/1.23, allocations: 0.711 MB / 1.462 GB, free: 14.91 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * 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 (64): * Single equations (assignments): 64 * 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.0005593/1.23, allocations: 247.7 kB / 1.462 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002636/1.233, allocations: 1.221 MB / 1.463 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.233, allocations: 0 / 1.463 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007953/1.234, allocations: 428 kB / 1.464 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.237, allocations: 0.567 MB / 1.464 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.241, allocations: 2.927 MB / 1.467 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/1.241, allocations: 1.172 MB / 1.468 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001857/1.243, allocations: 366.6 kB / 1.469 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/1.244, allocations: 129.4 kB / 1.469 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of SimCode: time 6.11e-07/1.244, allocations: 4 kB / 1.469 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of Templates: time 0.05193/1.296, allocations: 27.33 MB / 1.495 GB, free: 6.391 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)