Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 104.9 kB / 16.41 MB, free: 6.512 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.001322/0.001322, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002142, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003056/0.003056, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4931, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7204/1.214, allocations: 214.2 MB / 0.9762 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.225, allocations: 7.042 MB / 0.9831 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/1.227, allocations: 42.34 kB / 0.9831 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/1.229, allocations: 0.7885 MB / 0.9839 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005968/1.235, allocations: 2.516 MB / 0.9863 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/1.238, allocations: 1.171 MB / 0.9875 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003877/1.241, allocations: 2.837 MB / 0.9902 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/1.243, allocations: 1.084 MB / 0.9913 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/1.248, allocations: 2.019 MB / 0.9933 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.25, allocations: 0.9367 MB / 0.9942 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/1.25, allocations: 117.2 kB / 0.9943 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004343/1.255, allocations: 2.449 MB / 0.9967 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/1.255, allocations: 430.8 kB / 0.9971 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009936/1.256, allocations: 0.6895 MB / 0.9978 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004602/1.261, allocations: 2.504 MB / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.261, allocations: 0 / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/1.261, allocations: 0.875 kB / 1 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.553e-05/1.261, allocations: 0 / 1 GB, free: 1.152 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004614/1.265, allocations: 1.855 MB / 1.002 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.265, allocations: 10.66 kB / 1.002 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/1.269, allocations: 0.5367 MB / 1.003 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/1.271, allocations: 1.005 MB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/1.271, allocations: 71.11 kB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/1.271, allocations: 80.03 kB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.273, allocations: 1.228 MB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.273, allocations: 0.875 kB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.273, allocations: 32.61 kB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/1.273, allocations: 46.23 kB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/1.277, allocations: 1.528 MB / 1.006 GB, free: 15.74 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.006078/1.283, allocations: 4.04 MB / 1.01 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/1.285, allocations: 0.9647 MB / 1.011 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.287, allocations: 0.6541 MB / 1.012 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.288, allocations: 0.6097 MB / 1.013 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.288, allocations: 49.06 kB / 1.013 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 4.167e-06/1.288, allocations: 0.8125 kB / 1.013 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004677/1.292, allocations: 1.78 MB / 1.014 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.292, allocations: 61.62 kB / 1.014 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.293, allocations: 0.8239 MB / 1.015 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.294, allocations: 42.55 kB / 1.015 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/1.294, allocations: 442.9 kB / 1.016 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.294, allocations: 260.1 kB / 1.016 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/1.294, allocations: 149.8 kB / 1.016 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.295, allocations: 336 kB / 1.016 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.296, allocations: 0.5334 MB / 1.017 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.297, allocations: 0.6406 MB / 1.018 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/1.3, allocations: 1.116 MB / 1.019 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.3, allocations: 0 / 1.019 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003172/1.303, allocations: 1.33 MB / 1.02 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/1.303, allocations: 43.02 kB / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.303, allocations: 0 / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.303, allocations: 8.406 kB / 1.02 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/1.305, allocations: 255.4 kB / 1.02 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/1.306, allocations: 1.191 MB / 1.021 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.307, allocations: 140.9 kB / 1.022 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/1.307, allocations: 34.59 kB / 1.022 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.309, allocations: 0.7514 MB / 1.022 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001404/1.31, allocations: 0.6394 MB / 1.023 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00252/1.313, allocations: 1.11 MB / 1.024 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/1.313, allocations: 0 / 1.024 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003186/1.316, allocations: 1.311 MB / 1.025 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/1.316, allocations: 41.48 kB / 1.025 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.316, allocations: 5.312 kB / 1.025 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/1.316, allocations: 7.938 kB / 1.025 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.317, allocations: 222 kB / 1.026 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.317, allocations: 7.875 kB / 1.026 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.318, allocations: 128.5 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/1.318, allocations: 35.83 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003215/1.319, allocations: 227.9 kB / 1.026 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/1.319, allocations: 106.2 kB / 1.026 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/1.322, allocations: 1.337 MB / 1.027 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.322, allocations: 11.47 kB / 1.027 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.322, allocations: 1.312 kB / 1.027 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.322, allocations: 10 kB / 1.027 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/1.327, allocations: 2.839 MB / 1.03 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.327, allocations: 3 kB / 1.03 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.329, allocations: 232.7 kB / 1.03 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.329, allocations: 8.406 kB / 1.03 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/1.329, allocations: 20.11 kB / 1.03 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006428/1.329, allocations: 1.191 MB / 1.032 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.329, allocations: 14.22 kB / 1.032 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/1.332, allocations: 1.447 MB / 1.033 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/1.333, allocations: 304.8 kB / 1.033 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.333, allocations: 24.41 kB / 1.033 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.334, allocations: 102 kB / 1.033 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.334, allocations: 64.2 kB / 1.033 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/1.334, allocations: 36.23 kB / 1.033 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006954/1.335, allocations: 0.5765 MB / 1.034 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.335, allocations: 3.188 kB / 1.034 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001352/1.337, allocations: 0.531 MB / 1.035 GB, free: 7.664 MB / 0.7325 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006234/1.337, allocations: 276.2 kB / 1.035 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005133/1.342, allocations: 2.009 MB / 1.037 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.342, allocations: 0 / 1.037 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/1.344, allocations: 0.6599 MB / 1.037 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.347, allocations: 0.498 MB / 1.038 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/1.351, allocations: 2.125 MB / 1.04 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/1.352, allocations: 1.092 MB / 1.041 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/1.352, allocations: 99.08 kB / 1.041 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/1.352, allocations: 0 / 1.041 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.03399/1.386, allocations: 26.85 MB / 1.067 GB, free: 9.555 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)