Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001102/0.001102, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001235/0.001235, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002346/0.002346, allocations: 285.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 100.1 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4668, allocations: 86.97 MB / 0.767 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2485/0.7154, allocations: 189.7 MB / 0.9523 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.7228, allocations: 4.285 MB / 0.9565 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.724, allocations: 27.81 kB / 0.9565 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.7254, allocations: 0.5006 MB / 0.957 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5917/1.317, allocations: 1.553 MB / 0.9585 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004827/1.322, allocations: 1.346 MB / 0.9598 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005436/1.327, allocations: 2.269 MB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/1.33, allocations: 1.076 MB / 0.9631 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/1.332, allocations: 0.9657 MB / 0.964 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/1.334, allocations: 0.8714 MB / 0.9649 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/1.335, allocations: 141.7 kB / 0.965 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1.338, allocations: 1.247 MB / 0.9662 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/1.338, allocations: 420.6 kB / 0.9666 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.339, allocations: 0.6475 MB / 0.9672 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/1.343, allocations: 1.983 MB / 0.9692 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.343, allocations: 0 / 0.9692 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.464e-06/1.343, allocations: 4.219 kB / 0.9692 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.623e-05/1.343, allocations: 0 / 0.9692 GB, free: 2.156 MB / 0.7169 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.004888/1.348, allocations: 1.726 MB / 0.9709 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.348, allocations: 13.09 kB / 0.9709 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/1.349, allocations: 182.5 kB / 0.9711 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.351, allocations: 1.066 MB / 0.9721 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/1.351, allocations: 44.69 kB / 0.9721 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.351, allocations: 65.47 kB / 0.9722 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.352, allocations: 0.6114 MB / 0.9728 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.352, allocations: 0 / 0.9728 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/1.353, allocations: 22.2 kB / 0.9728 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/1.353, allocations: 16.69 kB / 0.9728 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.354, allocations: 0.627 MB / 0.9734 GB, free: 16.88 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.004075/1.358, allocations: 2.654 MB / 0.976 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.359, allocations: 0.5432 MB / 0.9766 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.36, allocations: 347.7 kB / 0.9769 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.36, allocations: 293 kB / 0.9772 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.36, allocations: 42.25 kB / 0.9772 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007086/1.361, allocations: 144.1 kB / 0.9774 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/1.361, allocations: 1.203 kB / 0.9774 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002226/1.363, allocations: 1.021 MB / 0.9784 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.363, allocations: 55.81 kB / 0.9784 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/1.365, allocations: 1.273 MB / 0.9797 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/1.365, allocations: 38.2 kB / 0.9797 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/1.365, allocations: 438.2 kB / 0.9801 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.365, allocations: 154.4 kB / 0.9803 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/1.366, allocations: 114.6 kB / 0.9804 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.366, allocations: 323.1 kB / 0.9807 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/1.366, allocations: 271.4 kB / 0.9809 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/1.367, allocations: 491 kB / 0.9814 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.368, allocations: 0.5841 MB / 0.982 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.368, allocations: 0 / 0.982 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001524/1.37, allocations: 0.748 MB / 0.9827 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.37, allocations: 5.094 kB / 0.9827 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.37, allocations: 0 / 0.9827 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.37, allocations: 3.938 kB / 0.9827 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/1.37, allocations: 122.2 kB / 0.9828 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.371, allocations: 4.547 kB / 0.9828 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.372, allocations: 94.56 kB / 0.9829 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.372, allocations: 23.25 kB / 0.9829 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008818/1.373, allocations: 467.6 kB / 0.9834 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006765/1.374, allocations: 482.4 kB / 0.9838 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.375, allocations: 0.5817 MB / 0.9844 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.375, allocations: 7.125 kB / 0.9844 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001565/1.376, allocations: 0.7236 MB / 0.9851 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.376, allocations: 18.08 kB / 0.9851 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.376, allocations: 1.25 kB / 0.9851 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/1.376, allocations: 4.359 kB / 0.9852 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/1.377, allocations: 126.2 kB / 0.9853 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.377, allocations: 3.031 kB / 0.9853 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.378, allocations: 124.5 kB / 0.9854 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/1.378, allocations: 26.75 kB / 0.9854 GB, free: 14.09 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 (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.0002805/1.379, allocations: 202 kB / 0.9856 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.379, allocations: 106.5 kB / 0.9857 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.381, allocations: 0.8081 MB / 0.9865 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/1.381, allocations: 5.578 kB / 0.9865 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.381, allocations: 1.094 kB / 0.9865 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/1.381, allocations: 279.7 kB / 0.9868 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.381, allocations: 13.08 kB / 0.9868 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/1.382, allocations: 62.17 kB / 0.9868 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.383, allocations: 35.17 kB / 0.9869 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001676/1.384, allocations: 0.7621 MB / 0.9876 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002082/1.386, allocations: 1.265 MB / 0.9889 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005806/1.387, allocations: 308.6 kB / 0.9892 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001677/1.389, allocations: 0.9243 MB / 0.9901 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of Backend: time 9.11e-07/1.389, allocations: 0 / 0.9901 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.392, allocations: 1.008 MB / 0.991 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004411/1.397, allocations: 2.189 MB / 0.9932 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.04697/1.444, allocations: 25.07 MB / 1.018 GB, free: 5.352 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)