Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001393/0.001393, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.427/1.427, allocations: 205.1 MB / 222 MB, free: 4.746 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.72/1.72, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.002329/0.002329, allocations: 66.47 kB / 0.6708 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3002, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8114/1.112, allocations: 212.1 MB / 0.9898 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01424/1.126, allocations: 7.055 MB / 0.9966 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/1.13, allocations: 39.72 kB / 0.9967 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.133, allocations: 0.6545 MB / 0.9973 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008848/1.142, allocations: 2.339 MB / 0.9996 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/1.146, allocations: 1.054 MB / 1.001 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005746/1.152, allocations: 3.727 MB / 1.004 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/1.153, allocations: 0.9198 MB / 1.005 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005528/1.159, allocations: 1.791 MB / 1.007 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/1.162, allocations: 0.9419 MB / 1.008 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/1.162, allocations: 64.84 kB / 1.008 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006939/1.169, allocations: 2.814 MB / 1.011 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009231/1.17, allocations: 375.9 kB / 1.011 GB, free: 380 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001517/1.172, allocations: 0.6281 MB / 1.012 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006845/1.179, allocations: 2.557 MB / 1.014 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.179, allocations: 0 / 1.014 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.422e-06/1.179, allocations: 0 / 1.014 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.179, allocations: 0 / 1.014 GB, free: 14.94 MB / 0.7481 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.005659/1.184, allocations: 1.845 MB / 1.016 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.184, allocations: 10.91 kB / 1.016 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/1.188, allocations: 0.5383 MB / 1.016 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/1.19, allocations: 0.9646 MB / 1.017 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006029/1.19, allocations: 173 kB / 1.018 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.191, allocations: 82.25 kB / 1.018 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/1.194, allocations: 1.233 MB / 1.019 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.194, allocations: 4 kB / 1.019 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.194, allocations: 40.44 kB / 1.019 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/1.194, allocations: 43.23 kB / 1.019 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/1.198, allocations: 1.549 MB / 1.02 GB, free: 11.01 MB / 0.7481 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.007052/1.205, allocations: 4.05 MB / 1.024 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/1.207, allocations: 1.005 MB / 1.025 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/1.209, allocations: 0.6682 MB / 1.026 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.21, allocations: 0.6071 MB / 1.027 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/1.21, allocations: 42.09 kB / 1.027 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.506e-06/1.21, allocations: 1.781 kB / 1.027 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004925/1.215, allocations: 1.812 MB / 1.028 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.215, allocations: 64.59 kB / 1.028 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.216, allocations: 0.8251 MB / 1.029 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/1.216, allocations: 42.83 kB / 1.029 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/1.217, allocations: 432.6 kB / 1.03 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/1.217, allocations: 268 kB / 1.03 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/1.217, allocations: 154.9 kB / 1.03 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.217, allocations: 338.4 kB / 1.03 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.219, allocations: 0.5375 MB / 1.031 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.22, allocations: 0.6694 MB / 1.032 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/1.223, allocations: 1.149 MB / 1.033 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.223, allocations: 0 / 1.033 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003276/1.226, allocations: 1.356 MB / 1.034 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/1.226, allocations: 42.22 kB / 1.034 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.226, allocations: 0 / 1.034 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.226, allocations: 8.859 kB / 1.034 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.228, allocations: 263.8 kB / 1.034 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/1.229, allocations: 1.194 MB / 1.036 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.23, allocations: 180.9 kB / 1.036 GB, free: 432 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/1.23, allocations: 35.67 kB / 1.036 GB, free: 420 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001818/1.232, allocations: 0.7648 MB / 1.037 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001463/1.233, allocations: 0.6611 MB / 1.037 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002616/1.236, allocations: 1.14 MB / 1.038 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/1.236, allocations: 0 / 1.038 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003295/1.239, allocations: 1.354 MB / 1.04 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/1.239, allocations: 41.47 kB / 1.04 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.24, allocations: 3.938 kB / 1.04 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.24, allocations: 5.031 kB / 1.04 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.241, allocations: 231.3 kB / 1.04 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.241, allocations: 9.234 kB / 1.04 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.242, allocations: 171.3 kB / 1.04 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.242, allocations: 41.62 kB / 1.04 GB, free: 14.12 MB / 0.7637 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.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 (86): * Single equations (assignments): 83 * 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.0003531/1.243, allocations: 213.7 kB / 1.04 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/1.243, allocations: 105.2 kB / 1.04 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/1.247, allocations: 1.372 MB / 1.042 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.247, allocations: 4 kB / 1.042 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.247, allocations: 4 kB / 1.042 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.247, allocations: 3.984 kB / 1.042 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/1.252, allocations: 2.841 MB / 1.045 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.252, allocations: 12 kB / 1.045 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.253, allocations: 227.6 kB / 1.045 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/1.253, allocations: 11.98 kB / 1.045 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/1.253, allocations: 23.98 kB / 1.045 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005777/1.254, allocations: 1.188 MB / 1.046 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.254, allocations: 8 kB / 1.046 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.257, allocations: 1.471 MB / 1.047 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/1.258, allocations: 311.5 kB / 1.048 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.258, allocations: 23.92 kB / 1.048 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.259, allocations: 147.7 kB / 1.048 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.259, allocations: 52.48 kB / 1.048 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/1.259, allocations: 39.91 kB / 1.048 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007557/1.26, allocations: 0.5739 MB / 1.048 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/1.26, allocations: 0 / 1.048 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001469/1.262, allocations: 0.5341 MB / 1.049 GB, free: 5.328 MB / 0.7637 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.0006014/1.262, allocations: 274.3 kB / 1.049 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005252/1.268, allocations: 2.045 MB / 1.051 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.268, allocations: 0 / 1.051 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.269, allocations: 0.6714 MB / 1.052 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.272, allocations: 0.507 MB / 1.052 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/1.277, allocations: 2.506 MB / 1.055 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/1.277, allocations: 1.098 MB / 1.056 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001695/1.279, allocations: 395.5 kB / 1.056 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/1.279, allocations: 83.41 kB / 1.056 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.279, allocations: 0 / 1.056 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.03341/1.313, allocations: 20.13 MB / 1.076 GB, free: 9.832 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)