Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 187.7 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 97.75 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 15.38 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/4.291, allocations: 2.208 GB / 3.109 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/4.291, allocations: 87.95 kB / 3.109 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.775/7.067, allocations: 0.9582 GB / 4.067 GB, free: 65.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/7.067, allocations: 0 / 4.067 GB, free: 65.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001498/7.067, allocations: 32.16 kB / 4.067 GB, free: 65.67 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006077/7.073, allocations: 1.887 MB / 4.069 GB, free: 63.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/7.073, allocations: 8.031 kB / 4.069 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/7.076, allocations: 0.5418 MB / 4.07 GB, free: 63.17 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/7.079, allocations: 1.086 MB / 4.071 GB, free: 62.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006449/7.08, allocations: 198.4 kB / 4.071 GB, free: 61.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/7.08, allocations: 92.36 kB / 4.071 GB, free: 61.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/7.083, allocations: 1.345 MB / 4.072 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/7.083, allocations: 0 / 4.072 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/7.083, allocations: 39.98 kB / 4.072 GB, free: 60.36 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/7.083, allocations: 45.98 kB / 4.072 GB, free: 60.31 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/7.087, allocations: 1.577 MB / 4.074 GB, free: 58.73 MB / 0.8855 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.006435/7.093, allocations: 4.097 MB / 4.078 GB, free: 54.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/7.095, allocations: 1.065 MB / 4.079 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/7.096, allocations: 0.6943 MB / 4.08 GB, free: 52.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/7.097, allocations: 0.6048 MB / 4.08 GB, free: 51.87 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/7.097, allocations: 47.22 kB / 4.08 GB, free: 51.81 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.105e-06/7.097, allocations: 0 / 4.08 GB, free: 51.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.004425/7.102, allocations: 1.925 MB / 4.082 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/7.102, allocations: 60.06 kB / 4.082 GB, free: 49.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/7.103, allocations: 0.8115 MB / 4.083 GB, free: 48.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/7.103, allocations: 45.7 kB / 4.083 GB, free: 48.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/7.104, allocations: 444.5 kB / 4.083 GB, free: 48.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/7.104, allocations: 272 kB / 4.084 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/7.104, allocations: 16 kB / 4.084 GB, free: 48.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/7.104, allocations: 337.8 kB / 4.084 GB, free: 47.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/7.105, allocations: 0.568 MB / 4.085 GB, free: 47.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/7.106, allocations: 0.7217 MB / 4.085 GB, free: 46.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/7.109, allocations: 1.23 MB / 4.086 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/7.109, allocations: 0 / 4.086 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00302/7.112, allocations: 1.449 MB / 4.088 GB, free: 43.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/7.112, allocations: 149.5 kB / 4.088 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/7.112, allocations: 0 / 4.088 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/7.112, allocations: 4 kB / 4.088 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/7.113, allocations: 295.5 kB / 4.088 GB, free: 43.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005179/7.114, allocations: 1.195 MB / 4.089 GB, free: 42.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/7.115, allocations: 195.3 kB / 4.09 GB, free: 41.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/7.116, allocations: 43.91 kB / 4.09 GB, free: 41.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/7.116, allocations: 4 kB / 4.09 GB, free: 41.87 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/7.118, allocations: 1.339 MB / 4.091 GB, free: 40.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/7.118, allocations: 8.062 kB / 4.091 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/7.118, allocations: 4 kB / 4.091 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/7.119, allocations: 259.6 kB / 4.091 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/7.119, allocations: 4 kB / 4.091 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/7.121, allocations: 195.1 kB / 4.091 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/7.121, allocations: 43.97 kB / 4.091 GB, free: 40.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006524/7.121, allocations: 365 kB / 4.092 GB, free: 39.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/7.122, allocations: 106.7 kB / 4.092 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/7.125, allocations: 1.461 MB / 4.093 GB, free: 38.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/7.125, allocations: 15.88 kB / 4.093 GB, free: 38.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/7.125, allocations: 0 / 4.093 GB, free: 38.06 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/7.125, allocations: 3.984 kB / 4.093 GB, free: 38.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/7.13, allocations: 2.928 MB / 4.096 GB, free: 35.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/7.13, allocations: 7.938 kB / 4.096 GB, free: 35.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/7.131, allocations: 259.8 kB / 4.097 GB, free: 34.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/7.131, allocations: 8 kB / 4.097 GB, free: 34.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/7.131, allocations: 27.97 kB / 4.097 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003903/7.132, allocations: 1.192 MB / 4.098 GB, free: 33.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/7.132, allocations: 4 kB / 4.098 GB, free: 33.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/7.134, allocations: 1.549 MB / 4.099 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/7.135, allocations: 311.5 kB / 4.1 GB, free: 31.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/7.135, allocations: 27.92 kB / 4.1 GB, free: 31.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/7.137, allocations: 159.7 kB / 4.1 GB, free: 31.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/7.137, allocations: 64.42 kB / 4.1 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/7.137, allocations: 44 kB / 4.1 GB, free: 31.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008075/7.138, allocations: 0.5624 MB / 4.1 GB, free: 30.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/7.138, allocations: 0 / 4.1 GB, free: 30.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002549/7.14, allocations: 0.753 MB / 4.101 GB, free: 29.93 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00333/7.144, allocations: 2.364 MB / 4.103 GB, free: 27.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004736/7.148, allocations: 2.171 MB / 4.106 GB, free: 25.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/7.148, allocations: 4 kB / 4.106 GB, free: 25.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/7.15, allocations: 0.7105 MB / 4.106 GB, free: 24.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/7.153, allocations: 0.495 MB / 4.107 GB, free: 24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/7.157, allocations: 2.528 MB / 4.109 GB, free: 21.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/7.158, allocations: 1.095 MB / 4.11 GB, free: 20.28 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001748/7.16, allocations: 407.6 kB / 4.111 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/7.16, allocations: 95.33 kB / 4.111 GB, free: 19.79 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/7.16, allocations: 0 / 4.111 GB, free: 19.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.508/7.668, allocations: 46.2 MB / 4.156 GB, free: 157.6 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)