Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009947/0.0009947, allocations: 96.69 kB / 16.26 MB, free: 5.934 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.000994/0.000994, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7467/0.7467, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.00265, allocations: 55.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4708, allocations: 77.92 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7326/1.204, allocations: 189.7 MB / 0.7524 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008092/1.212, allocations: 4.274 MB / 0.7566 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.213, allocations: 28.84 kB / 0.7566 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.215, allocations: 0.4969 MB / 0.7571 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/1.221, allocations: 1.57 MB / 0.7586 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/1.225, allocations: 1.329 MB / 0.7599 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004948/1.23, allocations: 2.25 MB / 0.7621 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/1.233, allocations: 1.083 MB / 0.7632 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/1.236, allocations: 0.9487 MB / 0.7641 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.238, allocations: 0.8657 MB / 0.7649 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003531/1.238, allocations: 144.3 kB / 0.7651 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/1.241, allocations: 1.235 MB / 0.7663 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006491/1.242, allocations: 421 kB / 0.7667 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/1.243, allocations: 0.6502 MB / 0.7673 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/1.247, allocations: 1.954 MB / 0.7692 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.247, allocations: 1.062 kB / 0.7692 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/1.247, allocations: 0 / 0.7692 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.809e-05/1.247, allocations: 0.9688 kB / 0.7692 GB, free: 1.438 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005444/1.253, allocations: 1.728 MB / 0.7709 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.253, allocations: 9.688 kB / 0.7709 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.254, allocations: 186.4 kB / 0.7711 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.256, allocations: 1.043 MB / 0.7721 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.256, allocations: 49.72 kB / 0.7722 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/1.256, allocations: 61.84 kB / 0.7722 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/1.258, allocations: 0.6096 MB / 0.7728 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.258, allocations: 0.5938 kB / 0.7728 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/1.258, allocations: 19.69 kB / 0.7728 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.258, allocations: 18.25 kB / 0.7729 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.259, allocations: 0.6283 MB / 0.7735 GB, free: 16.15 MB / 0.5919 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.004758/1.264, allocations: 2.67 MB / 0.7761 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.265, allocations: 0.5372 MB / 0.7766 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/1.266, allocations: 348.8 kB / 0.7769 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/1.266, allocations: 292.5 kB / 0.7772 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/1.266, allocations: 44.56 kB / 0.7773 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00086/1.267, allocations: 137.8 kB / 0.7774 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.407e-06/1.267, allocations: 2.906 kB / 0.7774 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.00232/1.269, allocations: 1.018 MB / 0.7784 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.27, allocations: 57.22 kB / 0.7784 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.272, allocations: 1.271 MB / 0.7797 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.272, allocations: 39.73 kB / 0.7797 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/1.272, allocations: 437.7 kB / 0.7801 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.272, allocations: 146.3 kB / 0.7803 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.272, allocations: 126 kB / 0.7804 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.273, allocations: 324.5 kB / 0.7807 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/1.273, allocations: 273.2 kB / 0.781 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/1.274, allocations: 491.6 kB / 0.7814 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.275, allocations: 0.5825 MB / 0.782 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.275, allocations: 2.531 kB / 0.782 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001647/1.277, allocations: 0.7349 MB / 0.7827 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.277, allocations: 4.906 kB / 0.7827 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.277, allocations: 0.875 kB / 0.7827 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.277, allocations: 5.328 kB / 0.7827 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.277, allocations: 121.9 kB / 0.7829 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.277, allocations: 3.781 kB / 0.7829 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.279, allocations: 92.62 kB / 0.783 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/1.279, allocations: 31.31 kB / 0.783 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009396/1.28, allocations: 465.2 kB / 0.7834 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007677/1.281, allocations: 490.5 kB / 0.7839 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/1.282, allocations: 0.5854 MB / 0.7845 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/1.282, allocations: 1.203 kB / 0.7845 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001586/1.283, allocations: 0.7296 MB / 0.7852 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.283, allocations: 6.781 kB / 0.7852 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.283, allocations: 1.406 kB / 0.7852 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/1.283, allocations: 3.281 kB / 0.7852 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/1.284, allocations: 123.6 kB / 0.7853 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.284, allocations: 3.75 kB / 0.7853 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.286, allocations: 122.3 kB / 0.7854 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/1.286, allocations: 26.03 kB / 0.7855 GB, free: 13.35 MB / 0.5919 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 (45): * Single equations (assignments): 45 * 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.0002798/1.286, allocations: 210 kB / 0.7857 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.286, allocations: 102.4 kB / 0.7857 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.288, allocations: 0.807 MB / 0.7865 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.288, allocations: 6.984 kB / 0.7865 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.288, allocations: 0.9062 kB / 0.7865 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.288, allocations: 5.453 kB / 0.7865 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/1.291, allocations: 1.956 MB / 0.7885 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.291, allocations: 3.375 kB / 0.7885 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.292, allocations: 114.8 kB / 0.7886 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.292, allocations: 8.875 kB / 0.7886 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/1.292, allocations: 12.75 kB / 0.7886 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/1.292, allocations: 11.42 kB / 0.7886 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.292, allocations: 4.375 kB / 0.7886 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/1.294, allocations: 1.225 MB / 0.7898 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/1.295, allocations: 289.9 kB / 0.7901 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.295, allocations: 14.45 kB / 0.7901 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009706/1.296, allocations: 59.44 kB / 0.7902 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.296, allocations: 48.28 kB / 0.7902 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/1.296, allocations: 22.98 kB / 0.7902 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001426/1.298, allocations: 0.9188 MB / 0.7911 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/1.298, allocations: 1 kB / 0.7911 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001352/1.299, allocations: 408.2 kB / 0.7915 GB, free: 12.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.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 (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.0005774/1.3, allocations: 211.3 kB / 0.7917 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.302, allocations: 0.9919 MB / 0.7927 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.302, allocations: 4.219 kB / 0.7927 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006778/1.303, allocations: 338.1 kB / 0.793 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.305, allocations: 438.2 kB / 0.7934 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/1.308, allocations: 1.698 MB / 0.7951 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/1.309, allocations: 1.049 MB / 0.7961 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001557/1.31, allocations: 295 kB / 0.7964 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/1.311, allocations: 98 kB / 0.7965 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.311, allocations: 0 / 0.7965 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.04016/1.351, allocations: 21.28 MB / 0.8173 GB, free: 15.43 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)