Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008791, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.029/2.029, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005189/0.0005189, allocations: 18.72 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8079/1.097, allocations: 180.9 MB / 0.964 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01503/1.112, allocations: 8.322 MB / 0.9722 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/1.114, allocations: 43.94 kB / 0.9722 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/1.116, allocations: 460.1 kB / 0.9726 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005522/1.122, allocations: 1.356 MB / 0.974 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009199/1.131, allocations: 2.394 MB / 0.9763 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00627/1.137, allocations: 3.099 MB / 0.9793 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/1.14, allocations: 1.15 MB / 0.9805 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/1.143, allocations: 1.05 MB / 0.9815 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/1.144, allocations: 1.031 MB / 0.9825 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/1.145, allocations: 85.94 kB / 0.9826 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/1.148, allocations: 0.975 MB / 0.9835 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/1.148, allocations: 439.3 kB / 0.9839 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006973/1.149, allocations: 283.9 kB / 0.9842 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/1.152, allocations: 1.986 MB / 0.9861 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.152, allocations: 0 / 0.9861 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.146e-06/1.152, allocations: 0 / 0.9861 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.106e-05/1.152, allocations: 4 kB / 0.9862 GB, free: 15.95 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004918/1.157, allocations: 1.895 MB / 0.988 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.157, allocations: 8.281 kB / 0.988 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/1.157, allocations: 111.2 kB / 0.9881 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.158, allocations: 236.5 kB / 0.9883 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/1.161, allocations: 1.279 MB / 0.9896 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.161, allocations: 71.7 kB / 0.9897 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/1.161, allocations: 80.91 kB / 0.9897 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/1.162, allocations: 0.9282 MB / 0.9906 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.162, allocations: 0 / 0.9906 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/1.163, allocations: 30.23 kB / 0.9907 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.163, allocations: 16 kB / 0.9907 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/1.164, allocations: 0.8483 MB / 0.9915 GB, free: 13.56 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.005711/1.17, allocations: 3.501 MB / 0.9949 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.171, allocations: 0.7764 MB / 0.9957 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/1.172, allocations: 455.5 kB / 0.9961 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/1.172, allocations: 294.5 kB / 0.9964 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.172, allocations: 39.5 kB / 0.9964 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/1.173, allocations: 236.1 kB / 0.9967 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.795e-06/1.173, allocations: 4 kB / 0.9967 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.002754/1.176, allocations: 1.348 MB / 0.998 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.176, allocations: 211.8 kB / 0.9982 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/1.179, allocations: 1.666 MB / 0.9998 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/1.179, allocations: 43.86 kB / 0.9999 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/1.18, allocations: 0.558 MB / 1 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.18, allocations: 183.4 kB / 1.001 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/1.18, allocations: 11.22 kB / 1.001 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.18, allocations: 322.3 kB / 1.001 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/1.181, allocations: 387.8 kB / 1.001 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/1.181, allocations: 0.702 MB / 1.002 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/1.182, allocations: 464.1 kB / 1.002 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.182, allocations: 5.797 kB / 1.002 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001921/1.184, allocations: 1.058 MB / 1.003 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/1.184, allocations: 100.1 kB / 1.004 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.184, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.184, allocations: 4.938 kB / 1.004 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/1.185, allocations: 162.9 kB / 1.004 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.185, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.187, allocations: 161.9 kB / 1.004 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/1.187, allocations: 31.47 kB / 1.004 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/1.187, allocations: 2.5 kB / 1.004 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/1.189, allocations: 0.9026 MB / 1.005 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.189, allocations: 3.984 kB / 1.005 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.189, allocations: 2.938 kB / 1.005 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/1.189, allocations: 159.1 kB / 1.005 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.189, allocations: 2.156 kB / 1.005 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.191, allocations: 157.5 kB / 1.005 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/1.191, allocations: 34.67 kB / 1.005 GB, free: 8.086 MB / 0.7325 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008243/1.192, allocations: 388.1 kB / 1.005 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.192, allocations: 137.4 kB / 1.006 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.195, allocations: 1.054 MB / 1.007 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.195, allocations: 6.156 kB / 1.007 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.195, allocations: 0 / 1.007 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.195, allocations: 3.984 kB / 1.007 GB, free: 7.52 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 postOpt removeSimpleEquations (simulation): time 0.003757/1.198, allocations: 2.491 MB / 1.009 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.198, allocations: 2.469 kB / 1.009 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/1.199, allocations: 136.6 kB / 1.009 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.199, allocations: 9.656 kB / 1.009 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/1.199, allocations: 21.55 kB / 1.009 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/1.199, allocations: 11.11 kB / 1.009 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.199, allocations: 2.719 kB / 1.009 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.202, allocations: 1.563 MB / 1.011 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/1.202, allocations: 358.4 kB / 1.011 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/1.202, allocations: 17.38 kB / 1.011 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.204, allocations: 92.14 kB / 1.011 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.204, allocations: 54.31 kB / 1.011 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/1.204, allocations: 21.67 kB / 1.011 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001792/1.206, allocations: 1.191 MB / 1.012 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.206, allocations: 3.938 kB / 1.012 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001997/1.208, allocations: 0.5501 MB / 1.013 GB, free: 5.316 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003444/1.211, allocations: 2.278 MB / 1.015 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002809/1.214, allocations: 1.445 MB / 1.017 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.214, allocations: 1.859 kB / 1.017 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/1.215, allocations: 441.1 kB / 1.017 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.218, allocations: 0.5985 MB / 1.018 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/1.24, allocations: 9.173 MB / 1.027 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.241, allocations: 1.165 MB / 1.028 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002286/1.243, allocations: 381.6 kB / 1.028 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.244, allocations: 0.5326 MB / 1.029 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/1.244, allocations: 0 / 1.029 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/1.323, allocations: 39.26 MB / 1.067 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/1.324, allocations: 237.1 kB / 1.067 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/4.202, allocations: 4 kB / 1.067 GB, free: 5.641 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) Environment - environmentSimulation: