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.0008626/0.0008626, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009016/0.000902, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.67/1.67, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000538/0.0005384, allocations: 23.39 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2461, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.6287/0.8748, allocations: 176.7 MB / 0.9596 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.8867, allocations: 6.888 MB / 0.9664 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.8887, allocations: 36.09 kB / 0.9664 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.8912, allocations: 0.7142 MB / 0.9671 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00933/0.9005, allocations: 2.121 MB / 0.9692 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.9058, allocations: 1.128 MB / 0.9703 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004383/0.9102, allocations: 1.619 MB / 0.9718 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.9116, allocations: 0.818 MB / 0.9726 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.9155, allocations: 1.314 MB / 0.9739 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.9166, allocations: 0.6202 MB / 0.9745 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.9168, allocations: 46.53 kB / 0.9746 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.9205, allocations: 1.328 MB / 0.9759 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.9208, allocations: 315.1 kB / 0.9762 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.9213, allocations: 274.5 kB / 0.9764 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.9232, allocations: 1.599 MB / 0.978 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.9232, allocations: 0 / 0.978 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9232, allocations: 0 / 0.978 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.9233, allocations: 4 kB / 0.978 GB, free: 4.625 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.005035/0.9283, allocations: 1.575 MB / 0.9795 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.9284, allocations: 10.69 kB / 0.9796 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.9316, allocations: 0.5972 MB / 0.9801 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.9336, allocations: 0.9181 MB / 0.981 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000584/0.9342, allocations: 200.2 kB / 0.9812 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.9343, allocations: 82.47 kB / 0.9813 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.9369, allocations: 1.26 MB / 0.9825 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.9369, allocations: 0 / 0.9825 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.937, allocations: 34.16 kB / 0.9826 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/0.9371, allocations: 54.22 kB / 0.9826 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.9405, allocations: 1.61 MB / 0.9842 GB, free: 18.67 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.005886/0.9464, allocations: 4.084 MB / 0.9882 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.9488, allocations: 1.073 MB / 0.9892 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007388/0.9495, allocations: 286.2 kB / 0.9895 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.9496, allocations: 52.14 kB / 0.9895 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/0.9496, allocations: 0 / 0.9895 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004784/0.9544, allocations: 1.911 MB / 0.9914 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.9545, allocations: 57.28 kB / 0.9915 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.9555, allocations: 0.8077 MB / 0.9923 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.9556, allocations: 41.98 kB / 0.9923 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.9559, allocations: 450.5 kB / 0.9927 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.9562, allocations: 255.5 kB / 0.993 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.9562, allocations: 14.28 kB / 0.993 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9564, allocations: 342.2 kB / 0.9933 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.9577, allocations: 0.5622 MB / 0.9939 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.9591, allocations: 0.6891 MB / 0.9945 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.9605, allocations: 0.6265 MB / 0.9951 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9606, allocations: 5.812 kB / 0.9951 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0032/0.9638, allocations: 1.428 MB / 0.9965 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003564/0.9641, allocations: 0.565 MB / 0.9971 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9641, allocations: 0 / 0.9971 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9642, allocations: 4.844 kB / 0.9971 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.9657, allocations: 279.7 kB / 0.9974 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000904/0.9666, allocations: 1.2 MB / 0.9985 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.9683, allocations: 193.1 kB / 0.9987 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.9684, allocations: 36.81 kB / 0.9988 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9684, allocations: 8.906 kB / 0.9988 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00294/0.9714, allocations: 1.314 MB / 1 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9714, allocations: 6.875 kB / 1 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.9714, allocations: 4.062 kB / 1 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.9725, allocations: 259.7 kB / 1 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9726, allocations: 4.844 kB / 1 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9739, allocations: 198.3 kB / 1.001 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.974, allocations: 32.05 kB / 1.001 GB, free: 11.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (86): * Single equations (assignments): 83 * 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.0007721/0.9748, allocations: 376.9 kB / 1.001 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.9751, allocations: 103.2 kB / 1.001 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.9782, allocations: 1.431 MB / 1.002 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.9783, allocations: 7.375 kB / 1.002 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9783, allocations: 3.188 kB / 1.002 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.9783, allocations: 3.984 kB / 1.002 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.9839, allocations: 2.983 MB / 1.005 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.9839, allocations: 2.906 kB / 1.005 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.9851, allocations: 252.2 kB / 1.006 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.9851, allocations: 9.25 kB / 1.006 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.9852, allocations: 26.78 kB / 1.006 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/0.9861, allocations: 1.193 MB / 1.007 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.9861, allocations: 7.531 kB / 1.007 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.9895, allocations: 1.751 MB / 1.008 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006594/0.9902, allocations: 313.8 kB / 1.009 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9904, allocations: 21.55 kB / 1.009 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.9916, allocations: 165.3 kB / 1.009 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.9917, allocations: 58.67 kB / 1.009 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.9918, allocations: 35.47 kB / 1.009 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007923/0.9926, allocations: 0.5675 MB / 1.01 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9926, allocations: 0 / 1.01 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001505/0.9941, allocations: 0.5261 MB / 1.01 GB, free: 6.703 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (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.0006073/0.9947, allocations: 273.8 kB / 1.01 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005053/0.9998, allocations: 2.151 MB / 1.012 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9998, allocations: 0 / 1.012 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/1.001, allocations: 0.7068 MB / 1.013 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.004, allocations: 0.5016 MB / 1.014 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/1.009, allocations: 2.49 MB / 1.016 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.01, allocations: 1.116 MB / 1.017 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001774/1.012, allocations: 391.5 kB / 1.018 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.012, allocations: 85.59 kB / 1.018 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of SimCode: time 1.252e-06/1.012, allocations: 0 / 1.018 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of Templates: time 0.0352/1.047, allocations: 19.42 MB / 1.037 GB, free: 15.62 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: