Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009052, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008112/0.008112, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.79/1.79, allocations: 205.4 MB / 222.4 MB, free: 5.566 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 1.907/1.907, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006058/0.000606, allocations: 13.91 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2824, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8619/1.144, allocations: 185.2 MB / 0.9688 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01811/1.163, allocations: 7.813 MB / 0.9764 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/1.166, allocations: 28.97 kB / 0.9764 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/1.168, allocations: 454.4 kB / 0.9768 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/1.175, allocations: 1.456 MB / 0.9783 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/1.186, allocations: 2.287 MB / 0.9805 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005669/1.192, allocations: 2.796 MB / 0.9832 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/1.194, allocations: 0.9194 MB / 0.9841 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/1.197, allocations: 0.8264 MB / 0.9849 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/1.199, allocations: 0.814 MB / 0.9857 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/1.2, allocations: 58.84 kB / 0.9858 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/1.204, allocations: 1.486 MB / 0.9872 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004644/1.204, allocations: 337.2 kB / 0.9876 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/1.206, allocations: 0.5882 MB / 0.9881 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004379/1.21, allocations: 2.087 MB / 0.9902 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.21, allocations: 0 / 0.9902 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.936e-06/1.21, allocations: 0 / 0.9902 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.746e-05/1.21, allocations: 0 / 0.9902 GB, free: 8.719 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004671/1.215, allocations: 1.525 MB / 0.9917 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.215, allocations: 8.125 kB / 0.9917 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/1.216, allocations: 193.3 kB / 0.9919 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/1.218, allocations: 1.056 MB / 0.9929 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/1.218, allocations: 58.73 kB / 0.9929 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.218, allocations: 56.41 kB / 0.993 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.219, allocations: 0.7069 MB / 0.9937 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.219, allocations: 0 / 0.9937 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/1.219, allocations: 21.41 kB / 0.9937 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/1.219, allocations: 11.41 kB / 0.9937 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.221, allocations: 0.6404 MB / 0.9943 GB, free: 5.941 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.004412/1.225, allocations: 2.679 MB / 0.997 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.226, allocations: 0.5729 MB / 0.9975 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/1.227, allocations: 359.3 kB / 0.9979 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/1.228, allocations: 293.1 kB / 0.9981 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.228, allocations: 45.59 kB / 0.9982 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008583/1.229, allocations: 168 kB / 0.9983 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/1.229, allocations: 0 / 0.9983 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002509/1.231, allocations: 1.064 MB / 0.9994 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.231, allocations: 138.5 kB / 0.9995 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/1.233, allocations: 1.282 MB / 1.001 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/1.233, allocations: 43.62 kB / 1.001 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/1.234, allocations: 443.6 kB / 1.001 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.234, allocations: 150.9 kB / 1.001 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/1.234, allocations: 39.64 kB / 1.001 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.234, allocations: 328.8 kB / 1.002 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/1.235, allocations: 295 kB / 1.002 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/1.236, allocations: 0.5217 MB / 1.003 GB, free: 152 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.237, allocations: 0.6471 MB / 1.003 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.237, allocations: 0 / 1.003 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001667/1.238, allocations: 0.807 MB / 1.004 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.988e-05/1.239, allocations: 93.8 kB / 1.004 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.239, allocations: 6.094 kB / 1.004 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.239, allocations: 2.969 kB / 1.004 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.239, allocations: 125 kB / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.239, allocations: 2.938 kB / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.241, allocations: 126.5 kB / 1.004 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/1.241, allocations: 25.25 kB / 1.004 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/1.241, allocations: 5.281 kB / 1.004 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/1.242, allocations: 0.6667 MB / 1.005 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.242, allocations: 6.234 kB / 1.005 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/1.242, allocations: 3.938 kB / 1.005 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/1.243, allocations: 125.8 kB / 1.005 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/1.243, allocations: 1.781 kB / 1.005 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.244, allocations: 131.4 kB / 1.005 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.244, allocations: 29.84 kB / 1.005 GB, free: 14.79 MB / 0.7481 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0004916/1.244, allocations: 335.9 kB / 1.006 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.245, allocations: 104.3 kB / 1.006 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/1.246, allocations: 0.8348 MB / 1.006 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.246, allocations: 5.125 kB / 1.006 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.246, allocations: 6.891 kB / 1.006 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.246, allocations: 0 / 1.006 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/1.249, allocations: 1.977 MB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.249, allocations: 1.781 kB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/1.25, allocations: 115.5 kB / 1.009 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/1.25, allocations: 8.719 kB / 1.009 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/1.25, allocations: 20.66 kB / 1.009 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.25, allocations: 2.125 kB / 1.009 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.25, allocations: 3 kB / 1.009 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/1.252, allocations: 1.28 MB / 1.01 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/1.253, allocations: 283.1 kB / 1.01 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/1.253, allocations: 19.62 kB / 1.01 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.254, allocations: 85.5 kB / 1.01 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.254, allocations: 38.67 kB / 1.01 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/1.254, allocations: 21.8 kB / 1.01 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001573/1.256, allocations: 0.9305 MB / 1.011 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.256, allocations: 0 / 1.011 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00175/1.258, allocations: 457.1 kB / 1.012 GB, free: 10.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.0009193/1.259, allocations: 252.2 kB / 1.012 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.261, allocations: 1.079 MB / 1.013 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.261, allocations: 4 kB / 1.013 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/1.262, allocations: 347.6 kB / 1.013 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/1.266, allocations: 494.3 kB / 1.014 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/1.269, allocations: 2.047 MB / 1.016 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.271, allocations: 1.06 MB / 1.017 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0019/1.272, allocations: 299.2 kB / 1.017 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/1.273, allocations: 96.62 kB / 1.017 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/1.273, allocations: 0 / 1.017 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of Templates: time 0.04378/1.317, allocations: 21.74 MB / 1.038 GB, free: 5.453 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: